| Constructor and Description |
|---|
Util() |
| Modifier and Type | Method and Description |
|---|---|
static <Elem,Exc extends Exception> |
close(CloseableIteration<Elem,Exc> o)
Deprecated.
in v4.4 use Closer
|
static <CloseableType extends Closeable> |
close(CloseableType o)
Deprecated.
in v4.4 use Closer
|
static <CloseableType extends Closeable> |
close(CloseableType o)
Deprecated.
in v4.4 use Closer
|
static org.apache.commons.httpclient.MultiThreadedHttpConnectionManager |
close(org.apache.commons.httpclient.MultiThreadedHttpConnectionManager o)
Deprecated.
in v4.4 use Closer
|
static XMLStreamReader |
close(XMLStreamReader o)
Deprecated.
in v4.4 use Closer
|
static String |
getCatalogFromSpec(String repoAndCatalog)
Parses a store spec of the form [CATALOG:]REPO and returns
the CATALOG.
|
static String |
getRepoFromSpec(String repoAndCatalog)
Parses a store spec of the form [CATALOG:]REPO and returns
the REPO part.
|
public static <CloseableType extends Closeable> CloseableType close(CloseableType o)
CloseableType - .o - the object to closeoCloserpublic static <CloseableType extends Closeable> CloseableType close(CloseableType o)
CloseableType - .o - the object to closeoCloserpublic static org.apache.commons.httpclient.MultiThreadedHttpConnectionManager close(org.apache.commons.httpclient.MultiThreadedHttpConnectionManager o)
o - the connection manager to closeoCloserpublic static <Elem,Exc extends Exception> CloseableIteration<Elem,Exc> close(CloseableIteration<Elem,Exc> o)
Elem - the element type of the ClosableIterationExc - the exception type of the ClosableIterationo - the object to closeoCloserpublic static XMLStreamReader close(XMLStreamReader o)
o - the stream to closeoCloserpublic static String getCatalogFromSpec(String repoAndCatalog)
null if there is no CATALOG.repoAndCatalog - Store specification ([CATALOG:]REPO).null.Copyright © 2017 Franz Inc.. All rights reserved.