Class StructuredCatalog
java.lang.Object
|
+----waba.io.Stream
|
+----waba.io.Catalog
|
+----StructuredCatalog
- public class StructuredCatalog
- extends Catalog
-
maxCharInLine
-
-
StructuredCatalog(String)
- Construct a new ObjectCatalog
-
StructuredCatalog(String, int)
- Constructs a new ObjectCatalog
-
closeMemo()
- close the current memo
-
min(int, int)
- a static function to return the minimum between two integers
-
openMemo(int)
- open the memo number num
-
openMemo(String, int)
-
-
openMemo(String, int, int)
- open the memo with the specified title
-
readLine()
-
-
readLine(int)
- returns the next line (max char number specified)
-
readString(int)
- returns a String with length fixed
-
readString(int, int)
- returns a String from offset to length
maxCharInLine
public static int maxCharInLine
StructuredCatalog
public StructuredCatalog(String name,
int type)
- Constructs a new ObjectCatalog
- Parameters:
- name - the name of the catalog
- type - the mode to open the catalog with
StructuredCatalog
public StructuredCatalog(String name)
- Construct a new ObjectCatalog
- Parameters:
- name - the name of the catalog
readString
public String readString(int offset,
int length)
- returns a String from offset to length
readString
public String readString(int length)
- returns a String with length fixed
readLine
public String readLine(int maxLength)
- returns the next line (max char number specified)
readLine
public String readLine()
openMemo
public boolean openMemo(int num)
- open the memo number num
openMemo
public boolean openMemo(String title,
int length,
int nbt)
- open the memo with the specified title
openMemo
public int openMemo(String title,
int length)
closeMemo
public boolean closeMemo()
- close the current memo
min
public static int min(int a,
int b)
- a static function to return the minimum between two integers