| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static BoundedInputStream | Returns: a new BoundedInputStreamThe file. file)Creates a new BoundedInputStream bound by the size of the given file. |
| private static BoundedInputStream | |
| pack-priv static BoundedInputStream | |
| pack-priv static BoundedInputStream | Returns: a new BoundedInputStreamThe path. path)Creates a new BoundedInputStream bound by the size of the given path. |
| pack-priv static BoundedInputStream | Returns: a new BoundedInputStreamthe path string or initial part of the path string. first, final String... additional strings to be joined to form the path string. more)Creates a new BoundedInputStream bound by the size of the given file. |
| pack-priv static BoundedInputStream | Returns: a new BoundedInputStreamThe URL. url)Creates a new BoundedInputStream bound by the size of the given URL to a file. |
| private static <T> T | |
| pack-priv static String | |
| public void | unpack(final File
file to uncompress. file, final JarOutputStream JAR output stream of uncompressed data. out)Implements org. File to the specified JAR output stream.
|
| public void | unpack(final InputStream
stream to uncompress, preferably a in, final JarOutputStream BoundedInputStream.JAR output stream of uncompressed data. out)Implements org. |
| pack-priv static InputStream | Returns: The wrapped InputStreamThe FilterInputStream to unwrap. filterInputStream)Unwraps the given FilterInputStream to return its wrapped InputStream. |
| pack-priv static InputStream | Returns: The wrapped InputStreamThe FilterInputStream to unwrap. inputStream)Unwraps the given InputStream if it is an FilterInputStream to return its wrapped InputStream. |
| Pack200UnpackerAdapter | back to summary |
|---|---|
| public Pack200UnpackerAdapter() | |
| newBoundedInputStream | back to summary |
|---|---|
| pack-priv static BoundedInputStream newBoundedInputStream(final File file) throws IOException Creates a new BoundedInputStream bound by the size of the given file.
The new BoundedInputStream wraps a new
| |
| newBoundedInputStream | back to summary |
|---|---|
| private static BoundedInputStream newBoundedInputStream(final FileInputStream fileInputStream) throws IOException | |
| newBoundedInputStream | back to summary |
|---|---|
| pack-priv static BoundedInputStream newBoundedInputStream(final InputStream inputStream) throws IOException | |
| newBoundedInputStream | back to summary |
|---|---|
| pack-priv static BoundedInputStream newBoundedInputStream(final Path path) throws IOException Creates a new BoundedInputStream bound by the size of the given path.
The new BoundedInputStream wraps a new
| |
| newBoundedInputStream | back to summary |
|---|---|
| pack-priv static BoundedInputStream newBoundedInputStream(final String first, final String... more) throws IOException Creates a new BoundedInputStream bound by the size of the given file.
The new BoundedInputStream wraps a new
| |
| newBoundedInputStream | back to summary |
|---|---|
| pack-priv static BoundedInputStream newBoundedInputStream(final URL url) throws IOException, URISyntaxException Creates a new BoundedInputStream bound by the size of the given URL to a file.
The new BoundedInputStream wraps a new
| |
| readField | back to summary |
|---|---|
private static <T> T readField(final Object object, final String fieldName)
| |
| readPath | back to summary |
|---|---|
| pack-priv static String readPath(final FileInputStream fis) | |
| unpack | back to summary |
|---|---|
| public void unpack(final File file, final JarOutputStream out) throws IOException Implements org. Doc from org. Unpacks the contents of the specified
| |
| unpack | back to summary |
|---|---|
| public void unpack(final InputStream in, final JarOutputStream out) throws IOException Implements org. Doc from org. Unpacks the specified stream to the specified JAR output stream.
| |
| unwrap | back to summary |
|---|---|
| pack-priv static InputStream unwrap(final FilterInputStream filterInputStream) Unwraps the given FilterInputStream to return its wrapped InputStream.
| |
| unwrap | back to summary |
|---|---|
| pack-priv static InputStream unwrap(final InputStream inputStream) Unwraps the given InputStream if it is an FilterInputStream to return its wrapped InputStream.
| |