com.hp.hpl.jena.util
Class LocatorFile

java.lang.Object
  extended by com.hp.hpl.jena.util.LocatorFile
All Implemented Interfaces:
Locator

public class LocatorFile
extends 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.4 2004/12/07 18:51:18 andy_seaborne Exp $
Author:
Andy Seaborne

Method Summary
 boolean exists(String filenameOrURI)
           
 String getName()
           
 InputStream open(String filenameOrURI)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

exists

public boolean exists(String filenameOrURI)

open

public InputStream open(String filenameOrURI)
Specified by:
open in interface Locator

getName

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


Copyright © 2000, 2001, 2002, 2003, 2004 Hewlett-Packard Development Company, LP