public final class Part extends Object implements Comparable<Part>
Modifier and Type | Field and Description |
---|---|
Package |
container |
String |
contentType |
static Part[] |
EMPTY_LIST |
String |
name |
Constructor and Description |
---|
Part(Package container,
String name,
String contentType,
ZipEntry[] zipEntries) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Part other) |
Related[] |
getAllRelated() |
Document |
getDocument() |
static String |
getDocumentURI(Document doc) |
InputStream |
getInputStream() |
Related |
getRelated(String relId) |
Related[] |
getRelatedByRelation(String relation) |
Part |
getRelatedPart(String relId) |
Part[] |
getRelatedPartByRelation(String relation) |
public final Package container
public final String name
public final String contentType
public static final Part[] EMPTY_LIST
public int compareTo(Part other)
compareTo
in interface Comparable<Part>
public InputStream getInputStream() throws IOException
IOException
public Document getDocument() throws IOException
IOException
public Related[] getAllRelated()