Class KieBuilderSetImpl.DummyResource
- java.lang.Object
-
- org.drools.io.BaseResource
-
- org.drools.compiler.kie.builder.impl.KieBuilderSetImpl.DummyResource
-
- All Implemented Interfaces:
Externalizable,Serializable,org.drools.io.InternalResource,org.kie.api.io.Resource
- Enclosing class:
- KieBuilderSetImpl
public static class KieBuilderSetImpl.DummyResource extends org.drools.io.BaseResource- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DummyResource()DummyResource(String resourceName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEncoding()InputStreamgetInputStream()ReadergetReader()URLgetURL()booleanhasURL()booleanisDirectory()Collection<org.kie.api.io.Resource>listResources()-
Methods inherited from class org.drools.io.BaseResource
addCategory, equals, getBytes, getCategories, getConfiguration, getDescription, getResourceType, getSourcePath, getTargetPath, hashCode, readExternal, setCategories, setConfiguration, setDescription, setResourceType, setSourcePath, setTargetPath, toString, writeExternal
-
-
-
-
Constructor Detail
-
DummyResource
public DummyResource(String resourceName)
-
DummyResource
public DummyResource()
-
-
Method Detail
-
getURL
public URL getURL() throws IOException
- Throws:
IOException
-
hasURL
public boolean hasURL()
-
isDirectory
public boolean isDirectory()
-
listResources
public Collection<org.kie.api.io.Resource> listResources()
-
getEncoding
public String getEncoding()
-
getInputStream
public InputStream getInputStream() throws IOException
- Throws:
IOException
-
getReader
public Reader getReader() throws IOException
- Throws:
IOException
-
-