public class JrVltArchiveAdapter extends java.lang.Object implements Archive
JrVltArchive...| Modifier and Type | Class and Description |
|---|---|
static class |
JrVltArchiveAdapter.EntryAdapter |
Archive.Entry| Modifier and Type | Method and Description |
|---|---|
void |
close()
closes the archive
|
static Archive |
create(Archive archive) |
Archive.Entry |
getEntry(java.lang.String path)
Returns the entry specified by path.
|
VaultInputSource |
getInputSource(Archive.Entry entry)
Returns an input source for the given entry
|
Archive.Entry |
getJcrRoot()
Returns the entry that specifies the "jcr_root".
|
MetaInf |
getMetaInf()
Returns the meta inf.
|
Archive.Entry |
getRoot()
Returns the root entry.
|
Archive |
getSubArchive(java.lang.String root,
boolean asJcrRoot)
Returns a sub archive that is rooted at the given path.
|
void |
open(boolean strict)
Opens the archive.
|
java.io.InputStream |
openInputStream(Archive.Entry entry)
Opens an input stream for the given entry
|
Archive |
unwrap() |
public Archive unwrap()
public void open(boolean strict)
throws java.io.IOException
Archivepublic java.io.InputStream openInputStream(Archive.Entry entry) throws java.io.IOException
ArchiveopenInputStream in interface Archiveentry - the entryjava.io.IOException - if an error occurspublic VaultInputSource getInputSource(Archive.Entry entry) throws java.io.IOException
ArchivegetInputSource in interface Archiveentry - the entryjava.io.IOException - if an error occurspublic Archive.Entry getJcrRoot() throws java.io.IOException
Archivenull is returned.getJcrRoot in interface Archivenulljava.io.IOException - if an error occurspublic Archive.Entry getRoot() throws java.io.IOException
Archivepublic MetaInf getMetaInf()
ArchivegetMetaInf in interface Archivepublic Archive.Entry getEntry(java.lang.String path) throws java.io.IOException
Archivepublic Archive getSubArchive(java.lang.String root, boolean asJcrRoot) throws java.io.IOException
ArchivegetSubArchive in interface Archiveroot - root pathasJcrRoot - if true the given root is the jcr_rootnull if entry specified by root
does not exist.java.io.IOException - if an error occurs"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"