Class KieBuilderSetImpl.DummyResource
- java.lang.Object
-
- org.drools.core.io.impl.BaseResource
-
- org.drools.compiler.kie.builder.impl.KieBuilderSetImpl.DummyResource
-
- All Implemented Interfaces:
Externalizable
,Serializable
,org.drools.core.io.internal.InternalResource
,org.kie.api.io.Resource
- Enclosing class:
- KieBuilderSetImpl
public static class KieBuilderSetImpl.DummyResource extends org.drools.core.io.impl.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 String
getEncoding()
InputStream
getInputStream()
Reader
getReader()
URL
getURL()
boolean
hasURL()
boolean
isDirectory()
Collection<org.kie.api.io.Resource>
listResources()
-
Methods inherited from class org.drools.core.io.impl.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
-
-