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 |
---|---|
void |
decodeFlags_internalized(byte flag)
Decodes the flags ffrom the sbyte to inner class
|
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 |
boolean |
isPage_internalized()
Gets a value indicating whether this
DirmComponent True if the component represents a page |
void |
setID_internalized(String value)
Gets the ID of the component
|
void |
setName_internalized(String value)
Gets the name of the component
|
void |
setSize_internalized(int value)
Gets the size of the component
|
void |
setTitle_internalized(String value)
Gets the title of the component
|
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 void setID_internalized(String value)
Gets the ID of the component
Value: The identifier.public String getName()
Gets the name of the component
Value: The name.public void setName_internalized(String value)
Gets the name of the component
Value: The name.public String getTitle()
Gets the title of the component
Value: The title.public void setTitle_internalized(String value)
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 void setSize_internalized(int value)
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
public boolean isPage_internalized()
Gets a value indicating whether this DirmComponent
True if the component represents a page
true
if this instance is page; otherwise, false
.public void decodeFlags_internalized(byte flag)
Decodes the flags ffrom the sbyte to inner class
flag
- The sbyte
flag.Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.