Class InputFileItem
java.lang.Object
icecube.testdaq.display.InputFileItem
public class InputFileItem
InputFileItem is a datatype that store information about input file items. The readability, filename, and status are all stored in this datatype.
Field Summary
|
public static final int |
UNOPENED File has not been opened yet. |
|
public static final int |
OPENED File is open and being processed. |
|
public static final int |
CLOSED File has been processed. |
|
public static final int |
FORBIDDEN File is forbidden and cannot be processed. |
Constructor Summary
InputFileItem()
Constructs an InputFileItem with the default values.
InputFileItem(boolean read, String filename, int progress)
Creates an InputFileItem with the specified values.
Method Summary
|
public boolean |
isReadable() Returns the readable value. |
|
public String |
getName() Returns the input file's name. |
|
public int |
getStatus() Returns the file's status. |
|
public void |
setValues(boolean read, String filename, int progress) Sets the values of the item with the specified values. |
|
public void |
setReadable(boolean read) Sets the readability. |
|
public void |
setName(String filename) Sets the filename. |
|
public void |
setStatus(int prog) Sets the status. |