|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lizardtech.djvu.DjVmDir.File
public static final class DjVmDir.File
This class stores the details about a single page of include file within a document.
Field Summary | |
---|---|
static byte |
INCLUDE
flag to indicate an include file |
int |
offset
The position of this file in the main document. |
static byte |
PAGE
flag to indicate a page |
static byte |
SHARED_ANNO
flag to indicate shared annotations |
int |
size
The size of this file. |
static byte |
THUMBNAILS
flag to indicate thumbnails |
Constructor Summary | |
---|---|
DjVmDir.File()
Creates a new File object. |
|
DjVmDir.File(java.lang.String load_name,
java.lang.String save_name,
java.lang.String title,
int file_type)
Creates a new File object. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Create a clone of this object |
java.lang.String |
get_load_name()
Query the load name (id) of this file. |
int |
get_page_num()
Query the page number of this file. |
java.lang.String |
get_save_name()
Query the save name (name) of this file. |
java.lang.String |
get_str_type()
Query a description of the file type. |
java.lang.String |
get_title()
Query the title of this file. |
boolean |
is_include()
Query if this is an include file. |
boolean |
is_page()
Query if this is a page. |
boolean |
is_shared_anno()
Query if this is a shared annotation |
boolean |
is_thumbnails()
Query if this is a thumbnail. |
void |
set_load_name(java.lang.String id)
Set the load name (id) of this file. |
protected void |
set_save_name(java.lang.String name)
Set the save name (name) of this file. |
void |
set_title(java.lang.String title)
Set the title of this page. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final byte INCLUDE
public static final byte PAGE
public static final byte THUMBNAILS
public static final byte SHARED_ANNO
public int offset
public int size
Constructor Detail |
---|
public DjVmDir.File()
public DjVmDir.File(java.lang.String load_name, java.lang.String save_name, java.lang.String title, int file_type)
load_name
- the load name (id) of this filesave_name
- the save name (name) of this filetitle
- the title of this filefile_type
- the type of fileMethod Detail |
---|
public java.lang.Object clone()
clone
in class java.lang.Object
public final java.lang.String get_load_name()
public final java.lang.String get_save_name()
public final java.lang.String get_title()
public final int get_page_num()
public java.lang.String get_str_type() throws java.io.IOException
java.io.IOException
- if an error occurspublic boolean is_include()
public boolean is_page()
public boolean is_shared_anno()
public boolean is_thumbnails()
public void set_load_name(java.lang.String id)
id
- the load name to usepublic void set_title(java.lang.String title)
title
- the page titleprotected void set_save_name(java.lang.String name)
name
- save name to use
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |