public interface InternalResource
extends org.kie.api.io.Resource
Modifier and Type | Method and Description |
---|---|
void |
addCategory(String category) |
byte[] |
getBytes() |
List<String> |
getCategories() |
org.kie.api.io.ResourceConfiguration |
getConfiguration() |
String |
getDescription()
Returns the description of the resource.
|
String |
getEncoding() |
long |
getLastModified() |
long |
getLastRead() |
org.kie.api.io.ResourceType |
getResourceType() |
URL |
getURL() |
boolean |
hasURL() |
boolean |
isDirectory() |
Collection<org.kie.api.io.Resource> |
listResources() |
void |
setCategories(String categories) |
InternalResource |
setConfiguration(org.kie.api.io.ResourceConfiguration configuration) |
void |
setDescription(String description) |
InternalResource |
setResourceType(org.kie.api.io.ResourceType resourceType) |
InternalResource setResourceType(org.kie.api.io.ResourceType resourceType)
setResourceType
in interface org.kie.api.io.Resource
org.kie.api.io.ResourceType getResourceType()
getResourceType
in interface org.kie.api.io.Resource
org.kie.api.io.ResourceConfiguration getConfiguration()
getConfiguration
in interface org.kie.api.io.Resource
InternalResource setConfiguration(org.kie.api.io.ResourceConfiguration configuration)
setConfiguration
in interface org.kie.api.io.Resource
URL getURL() throws IOException
IOException
boolean hasURL()
boolean isDirectory()
Collection<org.kie.api.io.Resource> listResources()
long getLastModified()
long getLastRead()
String getDescription()
void setDescription(String description)
void setCategories(String categories)
void addCategory(String category)
byte[] getBytes()
String getEncoding()
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.