Giter VIP home page Giter VIP logo

zippex's People

Contributors

pdalcol avatar plinyasmith avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zippex's Issues

Copying files from one zip to another.

Could you implement a copy method file from one zip to another.

For example:
I have zip metadata from salesforce, I would like to save each file in a separate attachment. When we use getFile() we convert it to Blob then then back to zip. And I get the 'CPU LIMIT TIMEOUT' error, but if there was a copy option, I think it would work.

Thanks!

Not a valid UTF-8

I have taken two strings and added to Zippex class instance using add file and inserted the attachment into salesforce using getZipArchive(). When i load the attachment into apex and use toString() it throws an error saying it's not a valid UTF-8 String. What should be done to prevent this error.

Apex CPU time limit exceeded

I am getting CPU time limit exceeded error when i am try to getFile in a loop.

sampleZip = new Zippex(EncodingUtil.base64Decode(/*Some zip file*/));
sFileNames = sampleZip.getFileNames();
for(String fileName : sFileNames){
     if(fileName.endsWith('.xml')==false){
           Blob myBlob = sampleZip.getFile(fileName);
           if(String.isBlank(myBlob.toString())){
                  containedFileNames.add(fileName);
           }
     }
}

Apex CPU governor impact?

This is very interesting indeed! Have you done any analysis on the impact it has on the Apex CPU Governor?

Apex CPU time limit exceeded

The zippex class fails with Apex CPU time limit exceeded when the data is bulk in nature. For me the class failed when the data volume >= 5000

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.