Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.hp.hpl.jena.util
Class LocatorFile

    java.lang.Object
      com.hp.hpl.jena.util.LocatorFile

All Implemented Interfaces:
  Locator

    public class LocatorFile

extends java.lang.Object
implements Locator

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.

Version:
  $Id: LocatorFile.java,v 1.15 2008/01/02 12:07:43 andy_seaborne Exp $
Author:
  Andy Seaborne

Constructor Summary
`LocatorFile(java.lang.String dir)`

Method Summary
`boolean` | `equals(java.lang.Object other)`
`boolean` | `exists(java.lang.String filenameOrURI)`
`java.lang.String` | `getName()`
`int` | `hashCode()`
`TypedStream` | `open(java.lang.String filenameOrURI)`

Methods inherited from class java.lang.Object
`getClass, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### LocatorFile

    public LocatorFile(java.lang.String dir)

Method Detail

### equals

    public boolean equals(java.lang.Object other)

  Overrides:
    `equals` in class `java.lang.Object`

### hashCode

    public int hashCode()

  Overrides:
    `hashCode` in class `java.lang.Object`

### exists

    public boolean exists(java.lang.String filenameOrURI)

### open

    public TypedStream open(java.lang.String filenameOrURI)

  Specified by:
    `open` in interface `Locator`

### getName

    public java.lang.String getName()

  Specified by:
    `getName` in interface `Locator`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP