Package org.drools.compiler.compiler.io
Interface File
-
- All Superinterfaces:
FileSystemItem
- All Known Implementing Classes:
MemoryFile
public interface File extends FileSystemItem
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
create(InputStream is)
boolean
exists()
InputStream
getContents()
String
getName()
Path
getPath()
void
setContents(InputStream is)
-
-
-
Method Detail
-
getName
String getName()
-
exists
boolean exists()
-
getContents
InputStream getContents() throws IOException
- Throws:
IOException
-
setContents
void setContents(InputStream is) throws IOException
- Throws:
IOException
-
create
void create(InputStream is) throws IOException
- Throws:
IOException
-
getPath
Path getPath()
- Specified by:
getPath
in interfaceFileSystemItem
-
-