public class DirmComponent extends Object
Class for DIRM chunk (multipage djvu files)
Constructor and Description |
---|
DirmComponent(int offset)
Initializes a new instance of the
DirmComponent class. |
Modifier and Type | Method and Description |
---|---|
String |
getID()
Gets the ID of the component
|
String |
getName()
Gets the name of the component
|
int |
getOffset()
Gets the offset of the component
|
int |
getSize()
Gets the size of the component
|
String |
getTitle()
Gets the title of the component
|
boolean |
hasName()
Gets a value indicating whether this
DirmComponent True if the component has a different name |
boolean |
hasTitle()
Gets a value indicating whether this
DirmComponent True if the component has a different title |
public DirmComponent(int offset)
Initializes a new instance of the DirmComponent
class.
offset
- The offset.public String getID()
Gets the ID of the component
Value: The identifier.public String getName()
Gets the name of the component
Value: The name.public String getTitle()
Gets the title of the component
Value: The title.public int getOffset()
Gets the offset of the component
Value: The offset.public int getSize()
Gets the size of the component
Value: The size.public boolean hasName()
Gets a value indicating whether this DirmComponent
True if the component has a different name
true
if this instance has name; otherwise, false
.public boolean hasTitle()
Gets a value indicating whether this DirmComponent
True if the component has a different title