|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jguiraffe.locators.AbstractLocator
public abstract class AbstractLocator
An adapter class for implementing concrete Locator classes.
This class implements the Locator interface and provides dummy
implementations for most of the methods defined in this interface. It can
serve as a starting point for the implementation of custom
Locator classes; then the developer only needs to deal with
the methods that are really required.
Because the getURL() method must be implemented in every
locator, no dummy implementation for this method is provided.
| Constructor Summary | |
|---|---|
AbstractLocator()
|
|
| Method Summary | |
|---|---|
java.io.File |
getFile()
Dummy implementation of this interface method. |
java.io.InputStream |
getInputStream()
Dummy implementation of this interface method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sf.jguiraffe.locators.Locator |
|---|
getURL |
| Constructor Detail |
|---|
public AbstractLocator()
| Method Detail |
|---|
public java.io.File getFile()
throws LocatorException
getFile in interface LocatorLocatorException - if an error occurs
public java.io.InputStream getInputStream()
throws java.io.IOException,
LocatorException
getInputStream in interface Locatorjava.io.IOException - if an IO error occurs
LocatorException - if an internal error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||