public class IOProjectData extends DataProject
DataProject.Files
Constructor and Description |
---|
IOProjectData(boolean load)
The constructor launches a dialog to open an existing project file or to
create a new project from a folder (which should contain image files).
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(java.io.File file) |
java.io.File |
getDataFile(int number) |
java.io.File |
getDataForImage(java.io.File image_file) |
java.io.File |
getDataPath() |
java.io.File |
getImageFile(int number) |
java.io.File |
getImagePath() |
int |
getLength() |
java.lang.String |
getName() |
boolean |
saveProject()
Launches a dialog to determine a folder and file name, to which project
data is saved in the XML format.
|
boolean |
valid() |
batchElog, batchHough, batchProcessing, getDefaultParameters, getForce, setDefaultParameters, setForce, updateProject
public IOProjectData(boolean load)
load
- If true, the load dialog for an existing folder is launched,
otherwise the dialog for a new project is launched.public boolean contains(java.io.File file)
public int getLength()
public java.io.File getImageFile(int number)
public java.io.File getDataFile(int number)
public java.io.File getDataForImage(java.io.File image_file)
public java.lang.String getName()
public java.io.File getImagePath()
public java.io.File getDataPath()
public boolean valid()
public boolean saveProject()