Package | Description |
---|---|
plistreader |
Modifier and Type | Field and Description |
---|---|
static PlistReaderException |
PlistReaderException.CANNOT_READ_FILE
Called when IO problems are encountered for opening the file.
|
static PlistReaderException |
PlistReaderException.IO_EXCEPTION_READ
This is thrown when the library can't read a file.
|
static PlistReaderException |
PlistReaderException.IO_EXCEPTION_WRITE
This is thrown when the library can't write to a file.
|
static PlistReaderException |
PlistReaderException.NO_ARGUMENTS
This error is thrown when no argument is specified when starting the
test program
plistreader.test.testReader . |
static PlistReaderException |
PlistReaderException.NO_FILE_SPECIFIED
Used by the
AbstractReader and the AbstractWriter
when no file is specified. |
static PlistReaderException |
PlistReaderException.NO_PARSER_AVAILABLE
This error is called when the parser can't be instantiated.
|
static PlistReaderException |
PlistReaderException.NO_PROPERTIES_SPECIFIED
Used by the
AbstractReader and the AbstractWriter
when no PlistProperties object is specified. |
static PlistReaderException |
PlistReaderException.NON_EXISTING_KEY
Called when the search for a given key in a
PlistProperties
object fails. |
static PlistReaderException |
PlistReaderException.PARAMETER_NOT_CORRECT
Used in the same situation as the
SECURITY_ERROR error but
now if the program tries to invoke a wrong method. |
static PlistReaderException |
PlistReaderException.SECURITY_ERROR
The
list functions of a PlistProperties object
use instances of java.lang.reflect.Method which can cause
security issues. |
static PlistReaderException |
PlistReaderException.WRONG_ASSIGNMENT
This function is also called during parsing.
|
static PlistReaderException |
PlistReaderException.WRONG_DATE_FORMAT
Dateformat of the
<date> must be formatted according
the PLIST and NSDate specifications:
yyyy-MM-dd'T'hh:mm:ss'Z' . |
static PlistReaderException |
PlistReaderException.WRONG_NESTED_ARRAY
When a
PLIST file is wrongly formatted and some
closing tags are missing, for example, this error will probably be called
because the program tries to match an array with a Vector . |
static PlistReaderException |
PlistReaderException.WRONG_NESTED_DICTIONARY
Similar as
WRONG_NESTED_ARRAY . |
Modifier and Type | Method and Description |
---|---|
void |
PlistProperties.changeProperty(String _key,
Object _value)
Change the value of a given key
_key to a value _value . |
Object |
PlistProperties.getProperty(String _key)
Search a property value for a given key.
|
Object |
PlistProperties.getPropertyRecursive(String _key)
Search a property value for a given key.
|
private void |
PlistProperties.printContent(Object _out,
int _tabIndex)
This function handles the actions described in the various
list()
functions in this document. |
void |
PlistProperties.setProperty(String _key,
Object _value)
Set the value of a given key
_key to a value _value . |
void |
AbstractWriter.write()
Write the
PLIST file. |
void |
AbstractWriter.write(File _file)
Write the
PLIST file. |
void |
AbstractWriter.write(File _file,
PlistProperties _props)
Write the
PLIST file. |