| Modifier and Type | Method and Description |
|---|---|
static ESuccess |
ThreadUtils.sleep(long nMilliseconds)
Sleep the current thread for a certain amount of time
|
static ESuccess |
ThreadUtils.sleep(long nDuration,
TimeUnit aTimeUnit)
Sleep the current thread for a certain amount of time
|
static ESuccess |
ThreadUtils.sleep(TimeValue aTimeValue)
Sleep the current thread for a certain amount of time
|
static ESuccess |
ThreadUtils.sleepMinutes(long nMinutes)
Sleep the current thread for a certain amount of time
|
static ESuccess |
ThreadUtils.sleepSeconds(long nSeconds)
Sleep the current thread for a certain amount of time
|
| Modifier and Type | Method and Description |
|---|---|
ESuccess |
IConcurrentCollector.queueObject(DATATYPE aObject)
Submit an object to the queue.
|
ESuccess |
AbstractConcurrentCollector.queueObject(DATATYPE aObject) |
ESuccess |
IConcurrentCollector.stopQueuingNewObjects()
Stop taking new objects in the collector.
|
ESuccess |
AbstractConcurrentCollector.stopQueuingNewObjects() |
| Modifier and Type | Method and Description |
|---|---|
static ESuccess |
ChannelUtils.close(Channel aChannel) |
static ESuccess |
ChannelUtils.release(FileLock aFileLock) |
| Modifier and Type | Method and Description |
|---|---|
static ESuccess |
SimpleFileIO.writeFile(File aFile,
byte[] aContent) |
static ESuccess |
SimpleFileIO.writeFile(File aFile,
byte[] aContent,
int nOffset,
int nLength) |
static ESuccess |
SimpleFileIO.writeFile(File aFile,
List<String> aContent,
Charset aCharset) |
static ESuccess |
SimpleFileIO.writeFile(File aFile,
List<String> aContent,
String sCharset)
Deprecated.
|
static ESuccess |
SimpleFileIO.writeFile(File aFile,
String sContent,
Charset aCharset) |
static ESuccess |
SimpleFileIO.writeFile(File aFile,
String sContent,
String sCharset)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static ESuccess |
StreamUtils.close(Closeable aCloseable)
Close the passed stream by encapsulating the declared
IOException. |
static ESuccess |
StreamUtils.close(ServerSocket aSocket)
Special close version for
ServerSocket as they are not implementing
Closeable :( |
static ESuccess |
StreamUtils.close(Socket aSocket)
|
static ESuccess |
StreamUtils.closeWithoutFlush(Closeable aCloseable)
Close the passed object, without trying to call flush on it.
|
static ESuccess |
StreamUtils.copyInputStreamToOutputStream(InputStream aIS,
OutputStream aOS)
Pass the content of the given input stream to the given output stream.
|
static ESuccess |
StreamUtils.copyInputStreamToOutputStream(InputStream aIS,
OutputStream aOS,
byte[] aBuffer)
Pass the content of the given input stream to the given output stream.
|
static ESuccess |
StreamUtils.copyInputStreamToOutputStream(InputStream aIS,
OutputStream aOS,
byte[] aBuffer,
MutableLong aCopyByteCount)
Pass the content of the given input stream to the given output stream.
|
static ESuccess |
StreamUtils.copyInputStreamToOutputStream(InputStream aIS,
OutputStream aOS,
byte[] aBuffer,
MutableLong aCopyByteCount,
Long aLimit)
Pass the content of the given input stream to the given output stream.
|
static ESuccess |
StreamUtils.copyInputStreamToOutputStream(InputStream aIS,
OutputStream aOS,
MutableLong aCopyByteCount)
Pass the content of the given input stream to the given output stream.
|
static ESuccess |
StreamUtils.copyInputStreamToOutputStreamAndCloseOS(InputStream aIS,
OutputStream aOS)
Pass the content of the given input stream to the given output stream.
|
static ESuccess |
StreamUtils.copyInputStreamToOutputStreamWithLimit(InputStream aIS,
OutputStream aOS,
long nLimit)
Pass the content of the given input stream to the given output stream.
|
static ESuccess |
StreamUtils.copyInputStreamToOutputStreamWithLimitAndCloseOS(InputStream aIS,
OutputStream aOS,
long nLimit)
Pass the content of the given input stream to the given output stream.
|
static ESuccess |
StreamUtils.copyReaderToWriter(Reader aReader,
Writer aWriter)
Pass the content of the given reader to the given writer.
|
static ESuccess |
StreamUtils.copyReaderToWriter(Reader aReader,
Writer aWriter,
char[] aBuffer)
Pass the content of the given reader to the given writer.
|
static ESuccess |
StreamUtils.copyReaderToWriter(Reader aReader,
Writer aWriter,
char[] aBuffer,
MutableLong aCopyCharCount)
Pass the content of the given reader to the given writer.
|
static ESuccess |
StreamUtils.copyReaderToWriter(Reader aReader,
Writer aWriter,
char[] aBuffer,
MutableLong aCopyCharCount,
Long aLimit)
Pass the content of the given reader to the given writer.
|
static ESuccess |
StreamUtils.copyReaderToWriter(Reader aReader,
Writer aWriter,
MutableLong aCopyCharCount)
Pass the content of the given reader to the given writer.
|
static ESuccess |
StreamUtils.copyReaderToWriterAndCloseWriter(Reader aReader,
Writer aWriter)
Pass the content of the given reader to the given writer.
|
static ESuccess |
StreamUtils.copyReaderToWriterWithLimit(Reader aReader,
Writer aWriter,
long nLimit)
Pass the content of the given reader to the given writer.
|
static ESuccess |
StreamUtils.copyReaderToWriterWithLimitAndCloseWriter(Reader aReader,
Writer aWriter,
long nLimit)
Pass the content of the given reader to the given writer.
|
static ESuccess |
StreamUtils.flush(Flushable aFlushable)
Flush the passed object encapsulating the declared
IOException. |
static ESuccess |
StreamUtils.writeStream(OutputStream aOS,
byte[] aBuf)
Write bytes to an
OutputStream. |
static ESuccess |
StreamUtils.writeStream(OutputStream aOS,
byte[] aBuf,
int nOfs,
int nLen)
Write bytes to an
OutputStream. |
static ESuccess |
StreamUtils.writeStream(OutputStream aOS,
String sContent,
Charset aCharset)
Write bytes to an
OutputStream. |
static ESuccess |
StreamUtils.writeStream(OutputStream aOS,
String sContent,
String sCharset)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
ESuccess |
AbstractJAXBMarshaller.write(JAXBTYPE aObject,
File aResultFile)
Write the passed object to a
File. |
ESuccess |
AbstractJAXBMarshaller.write(JAXBTYPE aObject,
IWritableResource aResource)
Write the passed object to an
IWritableResource. |
ESuccess |
AbstractJAXBMarshaller.write(JAXBTYPE aObject,
Result aResult)
Convert the passed object to XML.
|
| Modifier and Type | Method and Description |
|---|---|
static ESuccess |
JMXUtils.exposeMBean(Object aObject,
ObjectName aObjectName) |
static ESuccess |
JMXUtils.exposeMBeanWithAutoName(Object aObj) |
static ESuccess |
JMXUtils.exposeMBeanWithAutoName(Object aObj,
String sName) |
| Modifier and Type | Method and Description |
|---|---|
static ESuccess |
XMLListHandler.readList(IInputStreamProvider aISP,
Collection<String> aTargetList) |
static ESuccess |
XMLListHandler.readList(IMicroElement aParentElement,
Collection<String> aTargetList) |
static ESuccess |
XMLListHandler.readList(InputStream aIS,
Collection<String> aTargetList)
Read a predefined XML file that contains list items.
|
static ESuccess |
XMLMapHandler.readMap(IInputStreamProvider aISP,
Map<String,String> aTargetMap) |
static ESuccess |
XMLMapHandler.readMap(IMicroElement aParentElement,
Map<String,String> aTargetMap) |
static ESuccess |
XMLMapHandler.readMap(InputStream aIS,
Map<String,String> aTargetMap)
Read a mapping from the passed input stream.
|
static ESuccess |
XMLListHandler.writeList(Collection<String> aCollection,
IOutputStreamProvider aOSP) |
static ESuccess |
XMLListHandler.writeList(Collection<String> aCollection,
OutputStream aOS)
Write the passed collection to the passed output stream using the
predefined XML layout.
|
static ESuccess |
XMLMapHandler.writeMap(Map<String,String> aMap,
IOutputStreamProvider aOSP) |
static ESuccess |
XMLMapHandler.writeMap(Map<String,String> aMap,
OutputStream aOS)
Write the passed map to the passed output stream using the predefined XML
layout.
|
| Modifier and Type | Method and Description |
|---|---|
static ESuccess |
MicroWriter.writeToFile(IMicroNode aNode,
File aFile)
Write a Micro Node to a file using the default settings.
|
static ESuccess |
MicroWriter.writeToFile(IMicroNode aNode,
File aFile,
IXMLWriterSettings aSettings)
Write a Micro Node to a file.
|
static ESuccess |
MicroWriter.writeToStream(IMicroNode aNode,
OutputStream aOS)
Write a Micro Node to an output stream using the default settings.
|
static ESuccess |
MicroWriter.writeToStream(IMicroNode aNode,
OutputStream aOS,
IXMLWriterSettings aSettings)
Write a Micro Node to an
OutputStream. |
static ESuccess |
MicroWriter.writeToWriter(IMicroNode aNode,
Writer aWriter,
IXMLWriterSettings aSettings)
Write a Micro Node to a
Writer. |
| Modifier and Type | Method and Description |
|---|---|
ESuccess |
ObjectPool.returnObject(DATATYPE aItem) |
ESuccess |
IObjectPool.returnObject(DATATYPE aItem)
Return a previously borrowed object back to the pool.
|
| Modifier and Type | Method and Description |
|---|---|
ESuccess |
ESuccess.and(ISuccessIndicator aSuccess) |
ESuccess |
ESuccess.or(ISuccessIndicator aSuccess) |
static ESuccess |
ESuccess.valueOf(boolean bSuccess) |
static ESuccess |
ESuccess.valueOf(ISuccessIndicator aSuccessIndicator) |
static ESuccess |
ESuccess.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ESuccess |
ESuccess.valueOfChange(IChangeIndicator aChange) |
static ESuccess[] |
ESuccess.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
ESuccess |
IBasicTreeItem.changeParent(ITEMTYPE aNewParent)
Change the parent node of this node to another node (subordination).
|
| Modifier and Type | Method and Description |
|---|---|
ESuccess |
BasicTreeItem.changeParent(ITEMTYPE aNewParent) |
| Modifier and Type | Method and Description |
|---|---|
ESuccess |
BasicTreeItemWithID.changeParent(ITEMTYPE aNewParent) |
| Modifier and Type | Method and Description |
|---|---|
static ESuccess |
SAXReader.readXMLSAX(byte[] aXML,
int nOfs,
int nLen,
ISAXReaderSettings aSettings) |
static ESuccess |
SAXReader.readXMLSAX(byte[] aXML,
ISAXReaderSettings aSettings) |
static ESuccess |
SAXReader.readXMLSAX(ByteBuffer aXML,
ISAXReaderSettings aSettings) |
static ESuccess |
SAXReader.readXMLSAX(char[] aXML,
int nOfs,
int nLen,
ISAXReaderSettings aSettings) |
static ESuccess |
SAXReader.readXMLSAX(char[] aXML,
ISAXReaderSettings aSettings) |
static ESuccess |
SAXReader.readXMLSAX(CharSequence aXML,
ISAXReaderSettings aSettings) |
static ESuccess |
SAXReader.readXMLSAX(File aFile,
ISAXReaderSettings aSettings) |
static ESuccess |
SAXReader.readXMLSAX(IInputStreamProvider aISP,
ISAXReaderSettings aSettings) |
static ESuccess |
SAXReader.readXMLSAX(InputSource aIS,
ISAXReaderSettings aSettings)
Read an XML document via a SAX handler.
|
static ESuccess |
SAXReader.readXMLSAX(InputStream aIS,
ISAXReaderSettings aSettings) |
static ESuccess |
SAXReader.readXMLSAX(IReadableResource aResource,
ISAXReaderSettings aSettings) |
static ESuccess |
SAXReader.readXMLSAX(Reader aReader,
ISAXReaderSettings aSettings) |
static ESuccess |
SAXReader.readXMLSAX(String sXML,
ISAXReaderSettings aSettings) |
static ESuccess |
SAXReader.readXMLSAX(URI aURI,
ISAXReaderSettings aSettings) |
static ESuccess |
SAXReader.readXMLSAX(URL aURL,
ISAXReaderSettings aSettings) |
static ESuccess |
XMLWriter.writeToStream(Node aNode,
OutputStream aOS)
Write a node to an
OutputStream using the default settings. |
static ESuccess |
XMLWriter.writeToStream(Node aNode,
OutputStream aOS,
IXMLWriterSettings aSettings)
Write a node to an
OutputStream using custom settings. |
static ESuccess |
XMLWriter.writeToWriter(Node aNode,
Writer aWriter)
Write a node to a
Writer using the default settings. |
static ESuccess |
XMLWriter.writeToWriter(Node aNode,
Writer aWriter,
IXMLWriterSettings aSettings)
Write a node to a
Writer using the default settings. |
Copyright © 2006–2015 phloc systems. All rights reserved.