public class Catalog extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
CATALOG_KEY |
static String |
CATALOG_META_KEY |
| Constructor and Description |
|---|
Catalog() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(short position) |
boolean |
equals(Object obj) |
short |
getStart() |
int |
hashCode() |
void |
prepareToRead() |
void |
read(ObjectInputStream is) |
void |
setMeta(long meta) |
void |
setPosisionsFrom(Catalog catalog) |
boolean |
skipToNextItem(ObjectInputStream ois) |
String |
toString() |
void |
updateCatalogMetadata(byte[] contents) |
void |
upItemNumber(int delta) |
void |
write(ObjectOutputStream os) |
public static final String CATALOG_KEY
public static final String CATALOG_META_KEY
public void add(short position)
public void upItemNumber(int delta)
public void prepareToRead()
public boolean skipToNextItem(ObjectInputStream ois) throws IOException
IOExceptionpublic void write(ObjectOutputStream os) throws IOException
IOExceptionpublic void read(ObjectInputStream is) throws IOException
IOExceptionpublic void updateCatalogMetadata(byte[] contents)
public void setMeta(long meta)
public void setPosisionsFrom(Catalog catalog)
public short getStart()
Copyright © 2019. All rights reserved.