public class FileSystem extends Object
Constructor and Description |
---|
FileSystem() |
Modifier and Type | Method and Description |
---|---|
static IDirectory |
getFSRoot(File fs)
This method gets the IDirectory that represents the root of a virtual file
system.
|
static ICloseableDirectory |
getFSRoot(InputStream is)
This method gets an ICloseableDirectory that represents the root of a virtual file
system.
|
public static IDirectory getFSRoot(File fs)
fs
- the zip file.public static ICloseableDirectory getFSRoot(InputStream is)
ICloseableDirectory
is closed then backing resources will be
cleaned up.is
- An input stream to a zip file.Copyright © 2010 - 2020 Adobe. All Rights Reserved