Package | Description |
---|---|
net.sf.mmm.util.file.api |
Provides the API for utilities that help to deal with files.
|
net.sf.mmm.util.io.api |
Provides the API for utilities that help to read and write data, process bytes, etc.
|
net.sf.mmm.util.io.base |
Contains public implementations that help to read and write data, process bytes, etc.
|
net.sf.mmm.util.lang.api |
Provides the API for utilities of general purpose.
|
net.sf.mmm.util.lang.base |
Contains the basic implementation of the Util Lang API.
|
net.sf.mmm.util.nls.base |
Contains the basis for implementations of the native language support (NLS) API.
|
net.sf.mmm.util.reflect.api |
Provides the API for utilities that help to deal with reflection.
|
net.sf.mmm.util.reflect.base |
Contains the base-implementations of the
Reflection-Util API . |
net.sf.mmm.util.resource.api |
Provides the API for utilities that help to load resources from arbitrary sources.
|
net.sf.mmm.util.resource.base |
Contains the base implementation of the
resource-API . |
net.sf.mmm.util.xml.api |
Provides the API of utilities that help to deal with XML.
|
net.sf.mmm.util.xml.impl.stax |
Contains the implementation of the XML-Util API for StAX.
|
Modifier and Type | Class and Description |
---|---|
class |
FileAlreadyExistsException
A
FileAlreadyExistsException is thrown if a file or directory already exists but was NOT expected. |
class |
FileAttributeModificationFailedException
A
FileAttributeModificationFailedException is thrown if the attributes of a file or directory failed to be modified. |
class |
FileCreationFailedException
A
FileCreationFailedException is thrown if a file or directory should be created but the creation failed. |
class |
FileDeletionFailedException
A
FileDeletionFailedException is thrown if a file or directory should be deleted but the deletion failed. |
class |
FileNotExistsException
A
FileNotExistsException is thrown if a file or directory is expected but was NOT found. |
Modifier and Type | Method and Description |
---|---|
void |
FileUtil.copyFile(File source,
File destination)
This method copies the file given by
source to the file given by destination . |
void |
FileUtil.copyFile(File source,
File destination,
boolean keepFlags)
This method copies the file given by
source to the file given by destination . |
void |
FileUtil.copyRecursive(File source,
File destination,
boolean allowOverwrite)
This method copies the file or directory given by
source into the given destination . |
void |
FileUtil.copyRecursive(File source,
File destination,
boolean allowOverwrite,
FileFilter filter)
This method copies the file or directory given by
source into the given destination . |
int |
FileUtil.deleteChildren(File directory)
|
int |
FileUtil.deleteRecursive(File path)
This method
deletes the given path . |
Modifier and Type | Method and Description |
---|---|
void |
StreamUtil.close(OutputStream outputStream)
This method closes the given
outputStream without throwing an IOException . |
void |
StreamUtil.close(Writer writer)
This method closes the given
writer without throwing an IOException . |
Properties |
StreamUtil.loadProperties(InputStream inStream)
|
Properties |
StreamUtil.loadProperties(Reader reader)
|
String |
StreamUtil.read(Reader reader)
This method reads the contents of the given
reader into a string. |
long |
StreamUtil.transfer(FileInputStream inStream,
OutputStream outStream,
boolean keepOutStreamOpen)
|
long |
StreamUtil.transfer(InputStream inStream,
FileOutputStream outStream,
boolean keepOutStreamOpen,
long size)
|
long |
StreamUtil.transfer(InputStream inStream,
OutputStream outStream,
boolean keepOutStreamOpen)
This method transfers the contents of the given
inStream to the given outStream . |
long |
StreamUtil.transfer(Reader reader,
Writer writer,
boolean keepWriterOpen)
This method transfers the contents of the given
reader to the given writer . |
Modifier and Type | Method and Description |
---|---|
AppendableWriter |
AppendableWriter.append(char c) |
AppendableWriter |
AppendableWriter.append(CharSequence csq) |
AppendableWriter |
AppendableWriter.append(CharSequence csq,
int start,
int end) |
void |
AppendableWriter.close() |
void |
AppendableWriter.flush() |
Properties |
StreamUtilImpl.loadProperties(InputStream inStream) |
Properties |
StreamUtilImpl.loadProperties(Reader reader) |
String |
StreamUtilImpl.read(Reader reader) |
protected long |
StreamUtilImpl.BaseTransferrer.transfer()
This method performs the actual transfer.
|
long |
StreamUtilImpl.transfer(FileInputStream inStream,
OutputStream outStream,
boolean keepOutStreamOpen) |
long |
StreamUtilImpl.transfer(InputStream inStream,
FileOutputStream outStream,
boolean keepOutStreamOpen,
long size) |
long |
StreamUtilImpl.transfer(InputStream inStream,
OutputStream outStream,
boolean keepOutStreamOpen) |
long |
StreamUtilImpl.transfer(Reader reader,
Writer writer,
boolean keepWriterOpen) |
void |
AppendableWriter.write(char[] buffer) |
void |
AppendableWriter.write(char[] buffer,
int offset,
int length) |
void |
AppendableWriter.write(String string) |
void |
AppendableWriter.write(String string,
int offset,
int length) |
Modifier and Type | Method and Description |
---|---|
void |
Formatter.format(V value,
Appendable buffer)
|
void |
LocalizableFormatter.format(V value,
Appendable buffer,
Locale locale)
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractFormatter.format(V value,
Appendable buffer) |
void |
AbstractLocalizableFormatter.format(V value,
Appendable buffer,
Locale locale) |
Modifier and Type | Method and Description |
---|---|
NlsWriter |
NlsWriter.append(CharSequence csq) |
NlsWriter |
NlsWriter.append(CharSequence csq,
int start,
int end) |
void |
ComposedNlsMessage.getLocalizedMessage(Locale locale,
NlsTemplateResolver resolver,
Appendable buffer) |
void |
NlsWriter.print(CharSequence csq)
This method is the same as
NlsWriter.append(CharSequence) or AppendableWriter.write(String) . |
void |
NlsWriter.print(NlsMessage message)
This method writes an
NlsMessage . |
void |
NlsWriter.println()
This method writes a newline (line-separator).
|
void |
NlsWriter.println(CharSequence csq)
This method is like
NlsWriter.append(CharSequence) or AppendableWriter.write(String) but additionally adds a newline
(line-separator) after the message. |
void |
NlsWriter.printlnRaw(CharSequence text)
This method
writes the raw text without internationalization. |
void |
NlsWriter.printRaw(CharSequence text)
This method
writes the raw text without internationalization. |
Modifier and Type | Method and Description |
---|---|
Set<String> |
ReflectionUtil.findClassNames(String packageName,
boolean includeSubPackages)
This method finds all classes that are located in the package identified by the given
packageName . |
Set<String> |
ReflectionUtil.findClassNames(String packageName,
boolean includeSubPackages,
Filter<? super String> filter)
This method finds all classes that are located in the package identified by the given
packageName . |
Set<String> |
ReflectionUtil.findClassNames(String packageName,
boolean includeSubPackages,
Filter<? super String> filter,
ClassLoader classLoader)
This method finds all classes that are located in the package identified by the given
packageName . |
void |
ReflectionUtil.findClassNames(String packageName,
boolean includeSubPackages,
Set<String> classSet)
This method finds all classes that are located in the package identified by the given
packageName . |
Set<String> |
ReflectionUtil.findResourceNames(String packageName,
boolean includeSubPackages,
Filter<? super String> filter)
This method finds all resources that are located in the package identified by the given
packageName . |
Set<String> |
ReflectionUtil.findResourceNames(String packageName,
boolean includeSubPackages,
Filter<? super String> filter,
ClassLoader classLoader)
This method finds all resources that are located in the package identified by the given
packageName . |
Set<DataResource> |
ReflectionUtil.findResources(String absoluteClasspath)
This method finds all resources that match to the given
absoluteClasspath . |
Set<DataResource> |
ReflectionUtil.findResources(String packageName,
boolean includeSubPackages,
Filter<? super String> filter)
This method finds all resources that are located in the package identified by the given
packageName . |
Set<DataResource> |
ReflectionUtil.findResources(String packageName,
boolean includeSubPackages,
Filter<? super String> filter,
ClassLoader classLoader)
This method finds all resources that are located in the package identified by the given
packageName . |
void |
ReflectionUtil.toString(Type type,
Appendable appendable,
Visitor<Class<?>> classFormatter)
This method gets the string representation of a
Type . |
Modifier and Type | Method and Description |
---|---|
protected void |
ReflectionUtilImpl.findClassNames(String packageName,
boolean includeSubPackages,
Set<String> classSet,
Filter<? super String> filter,
ClassLoader classLoader) |
Set<DataResource> |
ReflectionUtilImpl.findResources(String absoluteClasspath) |
void |
ReflectionUtilImpl.visitResourceNames(String packageName,
boolean includeSubPackages,
ClassLoader classLoader,
ResourceVisitor visitor)
This method does the actual magic to locate resources on the classpath.
|
Constructor and Description |
---|
ManifestLoader()
The constructor.
|
ManifestLoader(ClassLoader classloader)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
OutputStream |
DataResource.openOutputStream()
This method opens an output-stream in order to write data to the resource.
|
InputStream |
DataResource.openStream()
This method opens this resource for reading.
|
Modifier and Type | Method and Description |
---|---|
OutputStream |
AbstractDataResource.openOutputStream() |
Modifier and Type | Method and Description |
---|---|
Reader |
XmlUtil.createXmlReader(InputStream inputStream)
This method creates a
Reader from the given inputStream that uses the encoding specified
in the (potential) XML header of the InputStream s content. |
Reader |
XmlUtil.createXmlReader(InputStream inputStream,
Charset defaultCharset)
This method creates a
Reader from the given inputStream that uses the encoding specified
in the (potential) XML header of the InputStream s content. |
void |
XmlUtil.escapeXml(String string,
Writer writer,
boolean escapeQuotations)
This method writes the given
string to the writer while escaping special characters for
XML (or HTML, etc.). |
Constructor and Description |
---|
XIncludeStreamReader(XMLInputFactory factory,
DataResource resource,
XIncludeStreamReader parent)
The constructor.
|
Copyright © 2001–2016 mmm-Team. All rights reserved.