public class DirectoryListingEntry extends Object
Constructor and Description |
---|
DirectoryListingEntry() |
DirectoryListingEntry(int name_length,
String name,
ChmCommons.EntryType isCompressed,
int offset,
int length)
Constructs directoryListingEntry
|
Modifier and Type | Method and Description |
---|---|
ChmCommons.EntryType |
getEntryType()
Returns ChmCommons.EntryType (COMPRESSED or UNCOMPRESSED)
|
int |
getLength() |
String |
getName()
Returns an entry name
|
int |
getNameLength()
Returns an entry name length
|
int |
getOffset() |
protected void |
setEntryType(ChmCommons.EntryType entryType) |
protected void |
setLength(int length) |
protected void |
setName(String name)
Sets entry name
|
protected void |
setNameLength(int name_length)
Sets an entry name length
|
protected void |
setOffset(int offset) |
String |
toString() |
public DirectoryListingEntry()
public DirectoryListingEntry(int name_length, String name, ChmCommons.EntryType isCompressed, int offset, int length) throws TikaException
name_length
- intname
- StringisCompressed
- ChmCommons.EntryTypeoffset
- intlength
- intTikaException
public int getNameLength()
protected void setNameLength(int name_length)
name_length
- intpublic String getName()
protected void setName(String name)
name
- Stringpublic ChmCommons.EntryType getEntryType()
protected void setEntryType(ChmCommons.EntryType entryType)
public int getOffset()
protected void setOffset(int offset)
public int getLength()
protected void setLength(int length)
Copyright © 2007–2023 The Apache Software Foundation. All rights reserved.