org.nees.tools.agent.beans
Interface FileListInterface

All Known Implementing Classes:
FileList

public interface FileListInterface

This interface is for a list of files that are sorted and are aware of their sort order.


Field Summary
static java.lang.String NUMBER_DELIMITER
           
static java.lang.String WRITTEN_SUFFIX
           
 
Method Summary
 void addFile(java.io.File f)
           
 void clearFiles()
           
 java.io.File fileAt(int index)
           
 java.lang.String getFileHead()
           
 boolean hasIndex(int index)
           
 boolean hasSequenceGaps()
           
 boolean isEmpty()
           
 int size()
           
 

Field Detail

NUMBER_DELIMITER

public static final java.lang.String NUMBER_DELIMITER
See Also:
Constant Field Values

WRITTEN_SUFFIX

public static final java.lang.String WRITTEN_SUFFIX
See Also:
Constant Field Values
Method Detail

addFile

public void addFile(java.io.File f)
             throws java.lang.Exception
Throws:
java.lang.Exception

clearFiles

public void clearFiles()
                throws java.lang.Exception
Throws:
java.lang.Exception

fileAt

public java.io.File fileAt(int index)

getFileHead

public java.lang.String getFileHead()
Returns:
java.lang.String

hasIndex

public boolean hasIndex(int index)
                 throws java.lang.Exception
Throws:
java.lang.Exception

hasSequenceGaps

public boolean hasSequenceGaps()
                        throws java.lang.Exception
Throws:
java.lang.Exception

isEmpty

public boolean isEmpty()
                throws java.lang.Exception
Throws:
java.lang.Exception

size

public int size()