public interface PackageOutput
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the package.
|
java.io.OutputStream |
getOutputStream()
Gets the output stream for current entry.
|
java.lang.String |
getSeparator()
Returns file separator used by the PackageOutput.
|
java.lang.String |
joinPath(java.lang.String path,
java.lang.String name)
Joins path and name.
|
void |
nextEntry(java.lang.String name)
Start a new entry in the package with the given name.
|
void |
nextEntry(java.lang.String path,
java.lang.String name)
Start a new entry in the package with the given path and name.
|
void |
removeEntry(java.lang.String name)
Ensure entry will be removed.
|
void |
removeEntry(java.lang.String path,
java.lang.String name)
Ensure entry will be removed.
|
void nextEntry(java.lang.String name)
throws java.io.IOException
name - java.io.IOExceptionvoid nextEntry(java.lang.String path,
java.lang.String name)
throws java.io.IOException
path - name - java.io.IOExceptionvoid close()
throws java.io.IOException
java.io.IOExceptionjava.io.OutputStream getOutputStream()
throws java.io.IOException
java.io.IOExceptionvoid removeEntry(java.lang.String name)
throws java.io.IOException
name - java.io.IOExceptionvoid removeEntry(java.lang.String path,
java.lang.String name)
throws java.io.IOException
path - name - java.io.IOExceptionjava.lang.String getSeparator()
java.lang.String joinPath(java.lang.String path,
java.lang.String name)
path - name - Copyright 2004-2015 Wandora Team