Package com.nomagic.magicreport
Class TempFile
java.lang.Object
java.io.File
com.nomagic.magicreport.TempFile
- All Implemented Interfaces:
Serializable,Comparable<File>
Temporary file.
When we create a file on temporary directory, it may need to be deleted after executed.
- See Also:
-
Field Summary
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.
Creates a new File instance from a parent abstract pathname and a child pathname string.Constructor.
Creates a new File instance by converting the given pathname string into an abstract pathname.Constructor.
Creates a new File instance from a parent pathname string and a child pathname string.Constructor.
Creates a new File instance by converting the given file: URI into an abstract pathname. -
Method Summary
Methods inherited from class java.io.File
canExecute, canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getFreeSpace, getName, getParent, getParentFile, getPath, getTotalSpace, getUsableSpace, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toPath, toString, toURI, toURL
-
Constructor Details
-
TempFile
Constructor.
Creates a new File instance by converting the given pathname string into an abstract pathname.- Parameters:
pathname- A pathname string
-
TempFile
Constructor.
Creates a new File instance from a parent abstract pathname and a child pathname string.- Parameters:
parent- The parent abstract pathnamechild- The child pathname string
-
TempFile
Constructor.
Creates a new File instance from a parent pathname string and a child pathname string.- Parameters:
parent- The parent pathname stringchild- The child pathname string
-
TempFile
Constructor.
Creates a new File instance by converting the given file: URI into an abstract pathname.- Parameters:
uri- An absolute, hierarchical URI with a scheme equal to "file", a non-empty path component, and undefined authority, query, and fragment components
-