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(java.io.InputStream is)
boolean
exists()
java.io.InputStream
getContents()
java.lang.String
getName()
org.drools.util.PortablePath
getPath()
void
setContents(java.io.InputStream is)
-
-
-
Method Detail
-
getName
java.lang.String getName()
-
exists
boolean exists()
-
getContents
java.io.InputStream getContents() throws java.io.IOException
- Throws:
java.io.IOException
-
setContents
void setContents(java.io.InputStream is) throws java.io.IOException
- Throws:
java.io.IOException
-
create
void create(java.io.InputStream is) throws java.io.IOException
- Throws:
java.io.IOException
-
getPath
org.drools.util.PortablePath getPath()
- Specified by:
getPath
in interfaceFileSystemItem
-
-