Class LocatorFile

  • All Implemented Interfaces:
    Locator

    @Deprecated
    public class LocatorFile
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      LocatorFile​(java.lang.String dir)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)
      Deprecated.
       
      boolean exists​(java.lang.String filenameOrURI)
      Deprecated.
       
      java.lang.String getDir()
      Deprecated.
       
      java.lang.String getName()
      Deprecated.
       
      int hashCode()
      Deprecated.
       
      TypedStream open​(java.lang.String filenameOrURI)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LocatorFile

        public LocatorFile​(java.lang.String dir)
        Deprecated.
    • Method Detail

      • equals

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

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

        public boolean exists​(java.lang.String filenameOrURI)
        Deprecated.
      • open

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

        public java.lang.String getDir()
        Deprecated.
      • getName

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