Class LocatorFile

java.lang.Object
org.apache.jena.util.LocatorFile
All Implemented Interfaces:
Locator

@Deprecated public class LocatorFile extends Object implements Locator
Deprecated.
Use StreamManager and LocatorFile from org.apache.jena.riot.system.stream.
Location files in the filing system. A FileLocator can have a "current directory" - this is separate from any location mapping (see @link{LocationMapping}) as it applies only to files.
  • Constructor Details

    • LocatorFile

      public LocatorFile(String dir)
      Deprecated.
  • Method Details

    • equals

      public boolean equals(Object other)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • exists

      public boolean exists(String filenameOrURI)
      Deprecated.
    • open

      public TypedStream open(String filenameOrURI)
      Deprecated.
      Specified by:
      open in interface Locator
    • getDir

      public String getDir()
      Deprecated.
    • getName

      public String getName()
      Deprecated.
      Specified by:
      getName in interface Locator