|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.mojo.delicious.Util
public class Util
Various utility methods that glue the classes together.
| Constructor Summary | |
|---|---|
Util()
|
|
| Method Summary | |
|---|---|
static Reader |
getFileReader(String fileName)
Deprecated. call getReader with a file:// url |
static Reader |
getReader(String url)
Obtains a reader for the given URL. |
static Reader |
getResourceReader(String path)
Gets a reader for a resource on the classpath. |
static void |
logStream(Logger logger,
Priority priority,
Reader reader)
Logs the message contained in the given reader. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Util()
| Method Detail |
|---|
public static Reader getReader(String url)
throws IOException
url -
IOException
public static Reader getFileReader(String fileName)
throws FileNotFoundException
fileName -
FileNotFoundExceptionpublic static Reader getResourceReader(String path)
path -
public static void logStream(Logger logger,
Priority priority,
Reader reader)
throws IOException
logger - priority - reader -
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||