ilog.rules.util

Interface IlrURI

  • All Known Implementing Classes:
    IlrFile


    public interface IlrURI
    Base interface for all kind of path identifier.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String FILE_SEPARATOR 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean exists()
      Returns true if the path of the URI exists; false otherwise.
      java.lang.String getDisplayPath()
      Returns the display path of the URI.
      java.lang.String getDisplayRootId()
      Returns the localized name of the root identifier or null.
      java.lang.String getName()
      Returns the name of the file described by this URI.
      java.lang.String getPath()
      Returns the path of the URI.
      java.lang.String getRootId()
      Returns the root identifier of the URI.
      java.lang.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(java.lang.String rootId)
      Sets the root identifier of the URI.
    • Field Detail

      • FILE_SEPARATOR

        static final java.lang.String FILE_SEPARATOR
    • Method Detail

      • getType

        java.lang.String getType()
        Returns the type of the URI.
      • getRootId

        java.lang.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

        java.lang.String getDisplayRootId()
        Returns the localized name of the root identifier or null.
      • setRootId

        void setRootId(java.lang.String rootId)
        Sets the root identifier of the URI.
      • getName

        java.lang.String getName()
        Returns the name of the file described by this URI.
      • getPath

        java.lang.String getPath()
        Returns the path of the URI.
      • getDisplayPath

        java.lang.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.

© Copyright IBM Corp. 1987, 2017