public class Bundle extends Object implements Closeable
Constructor and Description |
---|
Bundle(Path root,
boolean deleteOnClose) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
close(boolean deleteOnClose) |
FileSystem |
getFileSystem() |
Manifest |
getManifest() |
Path |
getPath(String path) |
Path |
getRoot() |
Path |
getSource() |
boolean |
isDeleteOnClose() |
protected Manifest |
readOrPopulateManifest() |
void |
setDeleteOnClose(boolean deleteOnClose) |
public Bundle(Path root, boolean deleteOnClose)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
protected void close(boolean deleteOnClose) throws IOException
IOException
public FileSystem getFileSystem()
public Manifest getManifest() throws IOException
IOException
public Path getRoot()
public Path getSource()
public boolean isDeleteOnClose()
protected Manifest readOrPopulateManifest() throws IOException
IOException
public void setDeleteOnClose(boolean deleteOnClose)
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.