Iterable<Catalog.CatalogItem>
public final class Catalog extends Object implements Iterable<Catalog.CatalogItem>
Catalog
structure, typically found in a CompoundDocument
.Modifier and Type | Class | Description |
---|---|---|
static class |
Catalog.CatalogItem |
Modifier and Type | Method | Description |
---|---|---|
int |
getIndex(String pName) |
|
int |
getMaxThumbnailHeight() |
|
int |
getMaxThumbnailWidth() |
|
String |
getName(String pStreamName) |
|
String |
getStreamName(int pIndex) |
|
int |
getThumbnailCount() |
|
Iterator<Catalog.CatalogItem> |
iterator() |
|
static Catalog |
read(DataInput pDataInput) |
Reads the
Catalog entry from the given input stream. |
static Catalog |
read(InputStream pInput) |
Reads the
Catalog entry from the given input stream. |
String |
toString() |
forEach, spliterator
public static Catalog read(InputStream pInput) throws IOException
Catalog
entry from the given input stream.pInput
- the input streamCatalog
IOException
- if an I/O exception occurs during readpublic static Catalog read(DataInput pDataInput) throws IOException
Catalog
entry from the given input stream.
The data is assumed to be in little endian byte order.pDataInput
- the input streamCatalog
IOException
- if an I/O exception occurs during readpublic final int getThumbnailCount()
public final int getMaxThumbnailWidth()
public final int getMaxThumbnailHeight()
public final int getIndex(String pName)
public final String getStreamName(int pIndex)
public Iterator<Catalog.CatalogItem> iterator()
iterator
in interface Iterable<Catalog.CatalogItem>
Copyright © 2018. All rights reserved.