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