public class FileInfo
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
java.lang.String |
author |
Author of the file.
|
java.lang.String |
charset |
Charset used to encode the file.
|
java.lang.String |
date |
Date of creation.
|
java.lang.String |
format |
Format version number of the file.
|
Constructor | Description |
---|---|
FileInfo() |
Modifier and Type | Method | Description |
---|---|---|
void |
addRem(java.lang.String rem) |
Adds comment line to the comments.
|
void |
clearRem() |
Removes all comments.
|
java.lang.String[] |
getRem() |
Gets the comments on the ISF file.
|
java.lang.String |
getRem(int index) |
Gets single line of the comments.
|
int |
getRemSize() |
Gets number of lines of the comments.
|
boolean |
isEmpty() |
Checks if this object contains any information.
|
public java.lang.String date
public java.lang.String author
public java.lang.String format
public java.lang.String charset
public void addRem(java.lang.String rem)
rem
- line of commentpublic void clearRem()
public java.lang.String[] getRem()
public java.lang.String getRem(int index)
index
- index of the comment line to receivepublic int getRemSize()
public boolean isEmpty()
true
if all fields contain null
references and no comment is added, false
otherwise