Class OutputFileItem


java.lang.Object

extended byicecube.testdaq.display.OutputFileItem


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


OutputFileItem()

Constructs an OutputFileItem with the default values.


OutputFileItem(boolean write, String name, int stat, int records, int files)

Creates an OutputFileItem with the specified values.


Method Summary


public boolean

isWritable()

Returns the writable value.

public String

getBaseName()

Returns the base output filename.

public int

getNumFiles()

Returns the number of files.

public int

getMaxRecords()

Returns the maximum number of records.

public int

getStatus()

Returns the file's status.

public void

setWritable(boolean write)

Sets whether or not the file is writable.

public void

setBaseName(String name)

Sets the base filename.

public void

setNumfiles(int num)

Sets the number of files.

public void

setMaxRecords(int max)

Sets the maximum number of records.

public void

setStatus(int stat)

Sets the status.