Package g3.project.xmlIO
Class ToolIO
- java.lang.Object
-
- g3.project.xmlIO.IO
-
- g3.project.xmlIO.ToolIO
-
public final class ToolIO extends IO
- Author:
- Group 3
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
XML_FILE_NAME
Name of XML doc.-
Fields inherited from class g3.project.xmlIO.IO
allowSave, docName, imagesDirString, mediaDirString, myDoc, origZip, scriptsDirString, tempFilePrefix, tempFiles, tempPath, zipFs
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canSave()
Am I allowed to save the open doc?protected java.util.Optional<nu.xom.Document>
retrieveDoc(java.nio.file.FileSystem fs)
Get doc from FileSystem.-
Methods inherited from class g3.project.xmlIO.IO
close, getArchive, getDoc, getInternalResource, getResource, getResourceTempPath, isUriInternal, makeFs, maybeURI, pathToUriString
-
-
-
-
Field Detail
-
XML_FILE_NAME
protected static final java.lang.String XML_FILE_NAME
Name of XML doc.- See Also:
- Constant Field Values
-
-
Method Detail
-
retrieveDoc
protected java.util.Optional<nu.xom.Document> retrieveDoc(java.nio.file.FileSystem fs)
Get doc from FileSystem.- Specified by:
retrieveDoc
in classIO
- Parameters:
fs
- FileSystem- Returns:
- Maybe Doc.
-
-