public class MultiFileFormat
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.ArrayList<java.io.File> |
fileList |
Constructor and Description |
---|
MultiFileFormat() |
Modifier and Type | Method and Description |
---|---|
void |
addFile(java.io.File file)
Adds a file to the list
|
void |
clean()
Cleans the list of files
|
java.lang.String |
getName()
Gets the name of this serial
|
int |
getNumberOfFiles()
Gets the number of files of this serial
|
java.lang.String |
getPathToFile(int file)
Gets the path of the file in the selected position
|
static java.lang.String |
saveMultiFileFormat(java.lang.String fileName,
java.lang.String path,
java.util.ArrayList<java.io.File> uriList) |
void |
setName(java.lang.String name)
Sets the name of this serie
|
void |
write(java.lang.String fileName)
Writes a MultiFileFormat to disk
|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- public int getNumberOfFiles()
public java.lang.String getPathToFile(int file)
file
- public void addFile(java.io.File file)
file
- public void clean()
public static java.lang.String saveMultiFileFormat(java.lang.String fileName, java.lang.String path, java.util.ArrayList<java.io.File> uriList) throws java.io.IOException
fileName
- path
- uriList
- java.io.IOException
public void write(java.lang.String fileName) throws java.io.IOException
fileName
- file
- java.io.IOException