Rule Execution Server API

ilog.rules.util
Interface IlrURI

All Known Implementing Classes:
IlrFile

public interface IlrURI

Base interface for all kind of path identifier.


Field Summary
static String FILE_SEPARATOR
           
 
Method Summary
 boolean exists()
          Returns true if the path of the URI exists; false otherwise.
 String getDisplayPath()
          Returns the display path of the URI.
 String getDisplayRootId()
          Returns the localized name of the root identifier or null.
 String getName()
          Returns the name of the file described by this URI.
 String getPath()
          Returns the path of the URI.
 String getRootId()
          Returns the root identifier of the URI.
 String getType()
          Returns the type of the URI.
 boolean isDirectory()
          Returns true if the path of the URI is a directory; false otherwise.
 boolean isFiltered()
          Returns true if the URI is filtered; false otherwise.
 long lastModified()
          Returns the time that the file denoted by this abstract pathname was last modified.
 void setRootId(String rootId)
          Sets the root identifier of the URI.
 

Field Detail

FILE_SEPARATOR

static final String FILE_SEPARATOR
Method Detail

getType

String getType()
Returns the type of the URI.


getRootId

String getRootId()
Returns the root identifier of the URI. The root identifier might be null if the path of the URI is enough to resolve the URI; otherwise, the full path is the resolution of the root identifier and the relative path.


getDisplayRootId

String getDisplayRootId()
Returns the localized name of the root identifier or null.


setRootId

void setRootId(String rootId)
Sets the root identifier of the URI.


getName

String getName()
Returns the name of the file described by this URI.


getPath

String getPath()
Returns the path of the URI.


getDisplayPath

String getDisplayPath()
Returns the display path of the URI.


exists

boolean exists()
Returns true if the path of the URI exists; false otherwise.


isDirectory

boolean isDirectory()
Returns true if the path of the URI is a directory; false otherwise.


lastModified

long lastModified()
Returns the time that the file denoted by this abstract pathname was last modified.


isFiltered

boolean isFiltered()
Returns true if the URI is filtered; false otherwise.


Rule Execution Server API

© Copyright IBM Corp. 1987, 2013