|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcoderz.commons.connector.file.FsConnectionUtil
public final class FsConnectionUtil
This class provides utility functions for the file system connector.
| Field Summary | |
|---|---|
static String |
FILE_SYSTEM_CONNECTOR_EIS_NAME
The JNDI name of the file system connector. |
static String |
FILE_SYSTEM_CONNECTOR_JNDI_NAME
The JNDI name of the file system connector. |
| Method Summary | |
|---|---|
static void |
close(FsConnection in)
Closes the file system connection (safe). |
static FsConnection |
getFileSystemConnection()
Returns a file system connection. |
static FsConnection |
getFileSystemConnection(Properties props)
Returns a file system connection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String FILE_SYSTEM_CONNECTOR_JNDI_NAME
public static final String FILE_SYSTEM_CONNECTOR_EIS_NAME
| Method Detail |
|---|
public static FsConnection getFileSystemConnection()
public static FsConnection getFileSystemConnection(Properties props)
props - Connection properties to use
public static void close(FsConnection in)
Level.FINE is logged. It's safe to pass a
null reference for the argument.
in - the file system connection that should be closed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||