Class KieBuilderSetImpl.DummyResource
- java.lang.Object
-
- org.drools.io.BaseResource
-
- org.drools.compiler.kie.builder.impl.KieBuilderSetImpl.DummyResource
-
- All Implemented Interfaces:
java.io.Externalizable
,java.io.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(java.lang.String resourceName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getEncoding()
java.io.InputStream
getInputStream()
java.io.Reader
getReader()
java.net.URL
getURL()
boolean
hasURL()
boolean
isDirectory()
java.util.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
-
-
-
-
Method Detail
-
getURL
public java.net.URL getURL() throws java.io.IOException
- Throws:
java.io.IOException
-
hasURL
public boolean hasURL()
-
isDirectory
public boolean isDirectory()
-
listResources
public java.util.Collection<org.kie.api.io.Resource> listResources()
-
getEncoding
public java.lang.String getEncoding()
-
getInputStream
public java.io.InputStream getInputStream() throws java.io.IOException
- Throws:
java.io.IOException
-
getReader
public java.io.Reader getReader() throws java.io.IOException
- Throws:
java.io.IOException
-
-