org.drools.compiler.compiler.io
Interface File
- All Superinterfaces:
- Resource
- All Known Implementing Classes:
- MemoryFile
public interface File
- extends Resource
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 interface Resource
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.