public class DalvikAwareOutputStreamHelper extends Object
DalvikAwareZipSplitter
.Modifier and Type | Method and Description |
---|---|
boolean |
canPutEntry(FileLike fileLike)
Tests whether the file-like instance can be placed into the zip entry without exceeding the
maximum size limit.
|
void |
close() |
boolean |
containsEntry(FileLike fileLike)
Checks whether the helper contains the specified entry.
|
void |
putEntry(FileLike fileLike)
Attempt to put the next entry.
|
public boolean canPutEntry(FileLike fileLike)
fileLike
- File-like instance to test.putEntry(com.facebook.buck.jvm.java.classes.FileLike)
public boolean containsEntry(FileLike fileLike)
fileLike
- the file to checkpublic void putEntry(FileLike fileLike) throws IOException
fileLike
- File-like instance to add as a zip entry.IOException
public void close() throws IOException
IOException