public class LibData
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
LibData.Attribute
Attribute object
|
static class |
LibData.AttrType
Attribute Types
|
static class |
LibData.Define
Definition objects
|
static class |
LibData.Error
Error types
|
static class |
LibData.Group
Group object
|
static class |
LibData.Head
Head object
|
static class |
LibData.Value
Value objects
|
static class |
LibData.ValueType
Value types
|
Modifier and Type | Field and Description |
---|---|
LibData.Group |
library |
Constructor and Description |
---|
LibData()
Create a new LibData object to hold Liberty format data.
|
Modifier and Type | Method and Description |
---|---|
LibData.Group |
getLibrary()
Get the library from the liberty file read.
|
static java.lang.String |
getMessage(LibData.Error error)
Get error string for the given type
|
void |
setLibrary(LibData.Group group)
Set the library for the liberty file.
|
void |
write(java.io.PrintStream out)
Write the data stored in this object to a Liberty format file.
|
void |
write(java.lang.String filename)
Write the data stored in this object to a Liberty format file.
|
public LibData.Group library
public LibData()
public void write(java.lang.String filename)
filename
- the file to write topublic void write(java.io.PrintStream out)
out
- the output stream to write topublic LibData.Group getLibrary()
public void setLibrary(LibData.Group group)
public static java.lang.String getMessage(LibData.Error error)
error
-