|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttp.model.LinkToFiles
public class LinkToFiles
A class representing links to files, which are chosen by the user for pre-processing.
Nested Class Summary | |
---|---|
static class |
LinkToFiles.FileType
|
Constructor Summary | |
---|---|
LinkToFiles()
Constructor of the class |
Method Summary | |
---|---|
int |
addFiles(java.io.File[] new_files)
Method initializes vecotr of files a stores them |
int |
getCount()
Gets count of items in the array. |
java.io.File |
getFileAt(int index)
Returns a file from array being on a given item index |
java.io.File |
getFileSingly()
Method consequently returns items from array of files |
LinkToFiles.FileType |
getFileType()
Gets actual value of file type. |
boolean |
isEmpty()
Gets information, if the array is empty or not. |
void |
removeFile(int i)
Removes a file from array being on a given item index |
void |
removeFiles(int[] index)
Removes files from array being on a given item indexes |
void |
setFileType(LinkToFiles.FileType type)
Sets used file type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LinkToFiles()
Method Detail |
---|
public int addFiles(java.io.File[] new_files)
new_files
- array of file to process
public java.io.File getFileSingly()
public java.io.File getFileAt(int index)
index
- index of file
public void removeFile(int i)
i
- index of filepublic void removeFiles(int[] index)
index
- array of indexespublic void setFileType(LinkToFiles.FileType type)
type
- file typepublic LinkToFiles.FileType getFileType()
public int getCount()
public boolean isEmpty()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |