Package org.kie.efesto.common.api.io
Class MemoryFile
- java.lang.Object
-
- java.io.File
-
- org.kie.efesto.common.api.io.MemoryFile
-
- All Implemented Interfaces:
Serializable,Comparable<File>
public class MemoryFile extends File implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar
-
-
Constructor Summary
Constructors Constructor Description MemoryFile(URL url)MemoryFile(Path filePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanRead()booleancanWrite()booleanequals(Object o)booleanexists()byte[]getContent()StringgetName()inthashCode()longlength()StringtoString()-
Methods inherited from class java.io.File
canExecute, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getFreeSpace, getParent, getParentFile, getPath, getTotalSpace, getUsableSpace, isAbsolute, isDirectory, isFile, isHidden, lastModified, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toPath, toURI, toURL
-
-
-
-
Constructor Detail
-
MemoryFile
public MemoryFile(Path filePath) throws IOException
- Throws:
IOException
-
MemoryFile
public MemoryFile(URL url) throws IOException
- Throws:
IOException
-
-