org.drools.io.internal
Interface InternalResource
- All Superinterfaces:
- org.drools.io.Resource, Serializable
- All Known Implementing Classes:
- BaseResource, ByteArrayResource, ClassPathResource, DescrResource, EncodedResource, FileSystemResource, InputStreamResource, ReaderResource, UrlResource
public interface InternalResource
- extends org.drools.io.Resource
Methods inherited from interface org.drools.io.Resource |
getInputStream, getReader |
setResourceType
void setResourceType(org.drools.builder.ResourceType resourceType)
getResourceType
org.drools.builder.ResourceType getResourceType()
getConfiguration
org.drools.builder.ResourceConfiguration getConfiguration()
setConfiguration
void setConfiguration(org.drools.builder.ResourceConfiguration configuration)
getURL
URL getURL()
throws IOException
- Throws:
IOException
hasURL
boolean hasURL()
isDirectory
boolean isDirectory()
listResources
Collection<org.drools.io.Resource> listResources()
getLastModified
long getLastModified()
getLastRead
long getLastRead()
getName
String getName()
- Returns the name of the resource. This is just a descriptive name of
the resource.
This is not a mandatory attribute
- Returns:
- the name of the resource, or null if is not set.
getDescription
String getDescription()
- Returns the description of the resource. This is just a text description
of the resource used to add more information about it.
This is not a mandatory attribute
- Returns:
- the name of the resource, or null if is not set.
setDescription
void setDescription(String description)
setName
void setName(String name)
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.