A B C D E F G H I J K L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- abbreviate(String, int) - Static method in class org.codehaus.plexus.util.StringUtils
-
Turn "Now is the time for all good men" into "Now is the time for..."
- abbreviate(String, int, int) - Static method in class org.codehaus.plexus.util.StringUtils
-
Turn "Now is the time for all good men" into "...is the time for..."
- AbstractScanner - Class in org.codehaus.plexus.util
-
Scan a directory tree for files, with specified inclusions and exclusions.
- AbstractScanner() - Constructor for class org.codehaus.plexus.util.AbstractScanner
- addAndDeHump(String) - Static method in class org.codehaus.plexus.util.StringUtils
- addCauseMethodName(String) - Static method in class org.codehaus.plexus.util.ExceptionUtils
-
Adds to the list of method names used in the search for
Throwableobjects. - addDefaultExcludes() - Method in class org.codehaus.plexus.util.AbstractScanner
-
Adds default exclusions to the current exclusions set.
- addDefaultExcludes() - Method in interface org.codehaus.plexus.util.Scanner
-
Adds default exclusions to the current exclusions set.
- addDirectoryWalkListener(DirectoryWalkListener) - Method in class org.codehaus.plexus.util.DirectoryWalker
- addExclude(String) - Method in class org.codehaus.plexus.util.DirectoryWalker
- addInclude(String) - Method in class org.codehaus.plexus.util.DirectoryWalker
- addSCMExcludes() - Method in class org.codehaus.plexus.util.DirectoryWalker
-
Add's to the Exclude List the default list of SCM excludes.
- ANT_HANDLER_PREFIX - Static variable in class org.codehaus.plexus.util.SelectorUtils
B
- Base64 - Class in org.codehaus.plexus.util
-
Provides Base64 encoding and decoding as defined by RFC 2045.
- Base64() - Constructor for class org.codehaus.plexus.util.Base64
- basedir - Variable in class org.codehaus.plexus.util.DirectoryScanner
-
The base directory to be scanned.
- basename(String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Returns the filename portion of a file specification string.
- basename(String, String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Returns the filename portion of a file specification string.
- bufferedCopy(InputStream, OutputStream) - Static method in class org.codehaus.plexus.util.IOUtil
-
Deprecated.Buffering streams is actively harmful! See the class description as to why. Use
IOUtil.copy(InputStream, OutputStream)instead. - byteCountToDisplaySize(int) - Static method in class org.codehaus.plexus.util.FileUtils
-
Returns a human-readable version of the file size (original is in bytes).
C
- CachedMap - Class in org.codehaus.plexus.util
-
This class provides cache access to
Mapcollections. - CachedMap() - Constructor for class org.codehaus.plexus.util.CachedMap
-
Creates a cached map backed by a
FastMap. - CachedMap(int) - Constructor for class org.codehaus.plexus.util.CachedMap
-
Creates a cached map backed by a
FastMapand having the specified cache size. - CachedMap(int, Map) - Constructor for class org.codehaus.plexus.util.CachedMap
-
Creates a cached map backed by the specified map and having the specified cache size.
- calculateLink(String, String) - Static method in class org.codehaus.plexus.util.PathTool
-
Calculates the appropriate link given the preferred link and the relativePath of the document.
- capacity() - Method in class org.codehaus.plexus.util.FastMap
-
Returns the capacity of this
FastMap. - capitalise(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Capitalise a String.
- capitaliseAllWords(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Capitalise all the words in a String.
- capitalizeFirstLetter(String) - Static method in class org.codehaus.plexus.util.StringUtils
- catPath(String, String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Will concatenate 2 paths.
- CAUSE_METHOD_NAMES - Static variable in class org.codehaus.plexus.util.ExceptionUtils
-
The names of methods commonly used to access a wrapped exception.
- center(String, int) - Static method in class org.codehaus.plexus.util.StringUtils
-
Center a String in a larger String of size
n. - center(String, int, String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Center a String in a larger String of size
n. - chmod(File, int) - Static method in class org.codehaus.plexus.util.NioFiles
- chomp(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Remove the last newline, and everything after it from a String.
- chomp(String, String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Remove the last value of a supplied String, and everything after it from a String.
- chompLast(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Remove a newline if and only if it is at the end of the supplied String.
- chompLast(String, String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Remove a value if and only if the String ends with that value.
- chop(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Remove the last character from a String.
- chopNewline(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Remove
\nfrom end of a String if it's there. - clean(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Removes control characters, including whitespace, from both ends of this String, handling
nullby returning an empty String. - cleanDirectory(File) - Static method in class org.codehaus.plexus.util.FileUtils
-
Clean a directory without deleting it.
- cleanDirectory(String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Clean a directory without deleting it.
- clear() - Method in class org.codehaus.plexus.util.CachedMap
-
Removes all mappings from this map (optional operation).
- clear() - Method in class org.codehaus.plexus.util.FastMap
-
Removes all mappings from this
FastMap. - clone() - Method in class org.codehaus.plexus.util.FastMap
-
Returns a shallow copy of this
FastMap. - close() - Method in class org.codehaus.plexus.util.StringInputStream
-
Deprecated.Closes the Stringreader.
- close(InputStream) - Static method in class org.codehaus.plexus.util.IOUtil
-
Closes the input stream.
- close(OutputStream) - Static method in class org.codehaus.plexus.util.IOUtil
-
Closes the output stream.
- close(Reader) - Static method in class org.codehaus.plexus.util.IOUtil
-
Closes the reader.
- close(Writer) - Static method in class org.codehaus.plexus.util.IOUtil
-
Closes the writer.
- close(Channel) - Static method in class org.codehaus.plexus.util.IOUtil
-
Closes a channel.
- CollectionUtils - Class in org.codehaus.plexus.util
- CollectionUtils() - Constructor for class org.codehaus.plexus.util.CollectionUtils
- concatenate(Object[]) - Static method in class org.codehaus.plexus.util.StringUtils
-
Concatenates elements of an array into a single String.
- contains(String, char) - Static method in class org.codehaus.plexus.util.StringUtils
-
Checks if String contains a search character, handling
null. - contains(String, String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Checks if String contains a search String, handling
null. - containsKey(Object) - Method in class org.codehaus.plexus.util.CachedMap
-
Indicates if this map contains a mapping for the specified key.
- containsKey(Object) - Method in class org.codehaus.plexus.util.FastMap
-
Indicates if this
FastMapcontains a mapping for the specified key. - containsValue(Object) - Method in class org.codehaus.plexus.util.CachedMap
-
Returns
trueif this map maps one or more keys to the specified value. - containsValue(Object) - Method in class org.codehaus.plexus.util.FastMap
-
Indicates if this
FastMapmaps one or more keys to the specified value. - contentEquals(File, File) - Static method in class org.codehaus.plexus.util.FileUtils
-
Compare the contents of two files to determine if they are equal or not.
- contentEquals(InputStream, InputStream) - Static method in class org.codehaus.plexus.util.IOUtil
-
Compare the contents of two Streams to determine if they are equal or not.
- copy(byte[], OutputStream) - Static method in class org.codehaus.plexus.util.IOUtil
-
Copy bytes from a
byte[]to anOutputStream. - copy(byte[], OutputStream, int) - Static method in class org.codehaus.plexus.util.IOUtil
-
Copy bytes from a
byte[]to anOutputStream. - copy(byte[], Writer) - Static method in class org.codehaus.plexus.util.IOUtil
-
Copy and convert bytes from a
byte[]to chars on aWriter. - copy(byte[], Writer, int) - Static method in class org.codehaus.plexus.util.IOUtil
-
Copy and convert bytes from a
byte[]to chars on aWriter. - copy(byte[], Writer, String) - Static method in class org.codehaus.plexus.util.IOUtil
-
Copy and convert bytes from a
byte[]to chars on aWriter, using the specified encoding. - copy(byte[], Writer, String, int) - Static method in class org.codehaus.plexus.util.IOUtil
-
Copy and convert bytes from a
byte[]to chars on aWriter, using the specified encoding. - copy(File, File) - Static method in class org.codehaus.plexus.util.NioFiles
- copy(InputStream, OutputStream) - Static method in class org.codehaus.plexus.util.IOUtil
-
Copy bytes from an
InputStreamto anOutputStream. - copy(InputStream, OutputStream, int) - Static method in class org.codehaus.plexus.util.IOUtil
-
Copy bytes from an
InputStreamto anOutputStream. - copy(InputStream, Writer) - Static method in class org.codehaus.plexus.util.IOUtil
-
Copy and convert bytes from an
InputStreamto chars on aWriter. - copy(InputStream, Writer, int) - Static method in class org.codehaus.plexus.util.IOUtil
-
Copy and convert bytes from an
InputStreamto chars on aWriter. - copy(InputStream, Writer, String) - Static method in class org.codehaus.plexus.util.IOUtil
-
Copy and convert bytes from an
InputStreamto chars on aWriter, using the specified encoding. - copy(InputStream, Writer, String, int) - Static method in class org.codehaus.plexus.util.IOUtil
-
Copy and convert bytes from an
InputStreamto chars on aWriter, using the specified encoding. - copy(Reader, OutputStream) - Static method in class org.codehaus.plexus.util.IOUtil
-
Serialize chars from a
Readerto bytes on anOutputStream, and flush theOutputStream. - copy(Reader, OutputStream, int) - Static method in class org.codehaus.plexus.util.IOUtil
-
Serialize chars from a
Readerto bytes on anOutputStream, and flush theOutputStream. - copy(Reader, Writer) - Static method in class org.codehaus.plexus.util.IOUtil
-
Copy chars from a
Readerto aWriter. - copy(Reader, Writer, int) - Static method in class org.codehaus.plexus.util.IOUtil
-
Copy chars from a
Readerto aWriter. - copy(String, OutputStream) - Static method in class org.codehaus.plexus.util.IOUtil
-
Serialize chars from a
Stringto bytes on anOutputStream, and flush theOutputStream. - copy(String, OutputStream, int) - Static method in class org.codehaus.plexus.util.IOUtil
-
Serialize chars from a
Stringto bytes on anOutputStream, and flush theOutputStream. - copy(String, Writer) - Static method in class org.codehaus.plexus.util.IOUtil
-
Copy chars from a
Stringto aWriter. - copyDirectory(File, File) - Static method in class org.codehaus.plexus.util.FileUtils
-
Copy a directory to an other one.
- copyDirectory(File, File, String, String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Copy a directory to an other one.
- copyDirectoryLayout(File, File, String[], String[]) - Static method in class org.codehaus.plexus.util.FileUtils
-
Copies a entire directory layout : no files will be copied only directories
- copyDirectoryStructure(File, File) - Static method in class org.codehaus.plexus.util.FileUtils
-
Copies a entire directory structure.
- copyDirectoryStructureIfModified(File, File) - Static method in class org.codehaus.plexus.util.FileUtils
-
Copies an entire directory structure but only source files with timestamp later than the destinations'.
- copyFile(File, File) - Static method in class org.codehaus.plexus.util.FileUtils
-
Copy file from source to destination.
- copyFile(File, File, String, FileUtils.FilterWrapper[]) - Static method in class org.codehaus.plexus.util.FileUtils
-
If wrappers is null or empty, the file will be copy only if
to.lastModified() < from.lastModified() - copyFile(File, File, String, FileUtils.FilterWrapper[], boolean) - Static method in class org.codehaus.plexus.util.FileUtils
-
If wrappers is null or empty, the file will be copy only if
to.lastModified() < from.lastModified(), if overwrite is true - copyFileIfModified(File, File) - Static method in class org.codehaus.plexus.util.FileUtils
-
Copy file from source to destination only if source timestamp is later than the destination timestamp.
- copyFileToDirectory(File, File) - Static method in class org.codehaus.plexus.util.FileUtils
-
Copy file from source to destination.
- copyFileToDirectory(String, String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Copy file from source to destination.
- copyFileToDirectoryIfModified(File, File) - Static method in class org.codehaus.plexus.util.FileUtils
-
Copy file from source to destination only if source is newer than the target file.
- copyFileToDirectoryIfModified(String, String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Copy file from source to destination only if source is newer than the target file.
- copyStreamToFile(InputStreamFacade, File) - Static method in class org.codehaus.plexus.util.FileUtils
-
Copies bytes from the
InputStreamsourceto a filedestination. - copyURLToFile(URL, File) - Static method in class org.codehaus.plexus.util.FileUtils
-
Copies bytes from the URL
sourceto a filedestination. - couldHoldIncluded(String) - Method in class org.codehaus.plexus.util.AbstractScanner
-
Tests whether or not a name matches the start of at least one include pattern.
- countMatches(String, String) - Static method in class org.codehaus.plexus.util.StringUtils
-
How many times is the substring in the larger String.
- createSymbolicLink(File, File) - Static method in class org.codehaus.plexus.util.NioFiles
- createTempFile(String, String, File) - Static method in class org.codehaus.plexus.util.FileUtils
-
Create a temporary file in a given directory.
D
- debug(String) - Method in interface org.codehaus.plexus.util.DirectoryWalkListener
- decode(byte[]) - Method in class org.codehaus.plexus.util.Base64
-
Decodes a byte[] containing containing characters in the Base64 alphabet.
- decodeBase64(byte[]) - Static method in class org.codehaus.plexus.util.Base64
-
Decodes Base64 data into octects
- DEFAULT_END_DELIM - Static variable in class org.codehaus.plexus.util.LineOrientedInterpolatingReader
- DEFAULT_ESCAPE_SEQ - Static variable in class org.codehaus.plexus.util.LineOrientedInterpolatingReader
- DEFAULT_START_DELIM - Static variable in class org.codehaus.plexus.util.LineOrientedInterpolatingReader
- DEFAULTEXCLUDES - Static variable in class org.codehaus.plexus.util.AbstractScanner
-
Patterns which should be excluded by default, like SCM files Misc: **/*~, **/#*#, **/.#*, **/%*%, **/._* CVS: **/CVS, **/CVS/**, **/.cvsignore RCS: **/RCS, **/RCS/** SCCS: **/SCCS, **/SCCS/** VSSercer: **/vssver.scc MKS: **/project.pj SVN: **/.svn, **/.svn/** GNU: **/.arch-ids, **/.arch-ids/** Bazaar: **/.bzr, **/.bzr/** SurroundSCM: **/.MySCMServerInfo Mac: **/.DS_Store Serena Dimension: **/.metadata, **/.metadata/** Mercurial: **/.hg, **/.hg/**, **/.hgignore GIT: **/.git, **/.gitignore, **/.gitattributes, **/.git/** Bitkeeper: **/BitKeeper, **/BitKeeper/**, **/ChangeSet, **/ChangeSet/** Darcs: **/_darcs, **/_darcs/**, **/.darcsrepo, **/.darcsrepo/****/-darcs-backup*, **/.darcs-temp-mail
- defaultString(Object) - Static method in class org.codehaus.plexus.util.StringUtils
-
Deprecated.
- defaultString(Object, String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Deprecated.
- deleteDirectory(File) - Static method in class org.codehaus.plexus.util.FileUtils
-
Recursively delete a directory.
- deleteDirectory(String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Recursively delete a directory.
- deleteIfExists(File) - Static method in class org.codehaus.plexus.util.NioFiles
- deleteWhitespace(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Deletes all whitespaces from a String.
- difference(String, String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Compare two strings, and return the portion where they differ.
- differenceAt(String, String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Compare two strings, and return the index at which the strings begin to differ.
- DirectoryScanner - Class in org.codehaus.plexus.util
-
Class for scanning a directory for files/directories which match certain criteria.
- DirectoryScanner() - Constructor for class org.codehaus.plexus.util.DirectoryScanner
-
Sole constructor.
- DirectoryWalker - Class in org.codehaus.plexus.util
-
DirectoryWalker
- DirectoryWalker() - Constructor for class org.codehaus.plexus.util.DirectoryWalker
- directoryWalkFinished() - Method in interface org.codehaus.plexus.util.DirectoryWalkListener
-
The directory walking has finished.
- DirectoryWalkListener - Interface in org.codehaus.plexus.util
-
Observes the actions of a
DirectoryWalker. - directoryWalkStarting(File) - Method in interface org.codehaus.plexus.util.DirectoryWalkListener
-
The directory walking has begun.
- directoryWalkStep(int, File) - Method in interface org.codehaus.plexus.util.DirectoryWalkListener
-
The included entry that was encountered.
- dirname(String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Returns the directory path portion of a file specification string.
- dirsDeselected - Variable in class org.codehaus.plexus.util.DirectoryScanner
-
The directories which matched at least one include and no excludes but which a selector discarded.
- dirsExcluded - Variable in class org.codehaus.plexus.util.DirectoryScanner
-
The directories which matched at least one include and at least one exclude.
- dirsIncluded - Variable in class org.codehaus.plexus.util.DirectoryScanner
-
The directories which matched at least one include and no excludes and were selected.
- dirsNotIncluded - Variable in class org.codehaus.plexus.util.DirectoryScanner
-
The directories which were found and did not match any includes.
- dispose() - Method in class org.codehaus.plexus.util.SweeperPool
-
Dispose of this pool.
E
- encode(byte[]) - Method in class org.codehaus.plexus.util.Base64
-
Encodes a byte[] containing binary data, into a byte[] containing characters in the Base64 alphabet.
- encodeBase64(byte[]) - Static method in class org.codehaus.plexus.util.Base64
-
Encodes binary data using the base64 algorithm but does not chunk the output.
- encodeBase64(byte[], boolean) - Static method in class org.codehaus.plexus.util.Base64
-
Encodes binary data using the base64 algorithm, optionally chunking the output into 76 character blocks.
- encodeBase64Chunked(byte[]) - Static method in class org.codehaus.plexus.util.Base64
-
Encodes binary data using the base64 algorithm and chunks the encoded output into 76 character blocks
- entrySet() - Method in class org.codehaus.plexus.util.CachedMap
-
Returns an unmodifiable view of the mappings contained in this map.
- entrySet() - Method in class org.codehaus.plexus.util.FastMap
-
Returns a collection view of the mappings contained in this
FastMap. - equals(Object) - Method in class org.codehaus.plexus.util.CachedMap
-
Compares the specified object with this map for equality.
- equals(Object) - Method in class org.codehaus.plexus.util.FastMap
-
Compares the specified object with this
FastMapfor equality. - equals(String, String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Deprecated.
- equalsIgnoreCase(String, String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Compares two Strings, returning
trueif they are equal ignoring the case. - escape(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Escapes any values it finds into their String form.
- escape(String, char[], char) - Static method in class org.codehaus.plexus.util.StringUtils
- escape(String, char[], String) - Static method in class org.codehaus.plexus.util.StringUtils
- eval() - Method in class org.codehaus.plexus.util.Os
-
Determines if the current OS matches the type of that set in setFamily.
- everythingIncluded - Variable in class org.codehaus.plexus.util.DirectoryScanner
-
Whether or not everything tested so far has been included.
- ExceptionUtils - Class in org.codehaus.plexus.util
-
ExceptionUtilsprovides utilities for manipulatingThrowableobjects. - ExceptionUtils() - Constructor for class org.codehaus.plexus.util.ExceptionUtils
-
Constructs a new
ExceptionUtils. - excludes - Variable in class org.codehaus.plexus.util.AbstractScanner
-
The patterns for the files to be excluded.
- execute() - Method in class org.codehaus.plexus.util.Expand
-
Do the work.
- Expand - Class in org.codehaus.plexus.util
-
Unzip a file.
- Expand() - Constructor for class org.codehaus.plexus.util.Expand
- expandFile(File, File) - Method in class org.codehaus.plexus.util.Expand
-
Description of the Method
- extension(String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Returns the extension portion of a file specification string.
- extractFile(File, File, InputStream, String, Date, boolean) - Method in class org.codehaus.plexus.util.Expand
-
Description of the Method
F
- FAMILY_DOS - Static variable in class org.codehaus.plexus.util.Os
- FAMILY_MAC - Static variable in class org.codehaus.plexus.util.Os
- FAMILY_NETWARE - Static variable in class org.codehaus.plexus.util.Os
- FAMILY_OPENVMS - Static variable in class org.codehaus.plexus.util.Os
- FAMILY_OS2 - Static variable in class org.codehaus.plexus.util.Os
- FAMILY_OS400 - Static variable in class org.codehaus.plexus.util.Os
- FAMILY_TANDEM - Static variable in class org.codehaus.plexus.util.Os
- FAMILY_UNIX - Static variable in class org.codehaus.plexus.util.Os
- FAMILY_WIN9X - Static variable in class org.codehaus.plexus.util.Os
- FAMILY_WINDOWS - Static variable in class org.codehaus.plexus.util.Os
- FAMILY_ZOS - Static variable in class org.codehaus.plexus.util.Os
- FastMap<K,V> - Class in org.codehaus.plexus.util
-
This class represents a
Mapcollection with real-time behavior. - FastMap() - Constructor for class org.codehaus.plexus.util.FastMap
-
Creates a
FastMapwith a capacity of256entries. - FastMap(int) - Constructor for class org.codehaus.plexus.util.FastMap
-
Creates a
FastMapwith the specified capacity. - FastMap(Map) - Constructor for class org.codehaus.plexus.util.FastMap
-
Creates a
FastMap, copy of the specifiedMap. - FILE_ENCODING - Static variable in class org.codehaus.plexus.util.ReaderFactory
-
The
file.encodingSystem Property. - FILE_ENCODING - Static variable in class org.codehaus.plexus.util.WriterFactory
-
The
file.encodingSystem Property. - fileAppend(String, String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Appends data to a file.
- fileAppend(String, String, String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Appends data to a file.
- fileDelete(String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Deletes a file.
- fileExists(String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Check if a file exits.
- filename(String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Returns the filename portion of a file specification string.
- fileRead(File) - Static method in class org.codehaus.plexus.util.FileUtils
-
Note: the file content is read with platform encoding
- fileRead(File, String) - Static method in class org.codehaus.plexus.util.FileUtils
- fileRead(String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Note: the file content is read with platform encoding.
- fileRead(String, String) - Static method in class org.codehaus.plexus.util.FileUtils
- filesDeselected - Variable in class org.codehaus.plexus.util.DirectoryScanner
-
The files which matched at least one include and no excludes and which a selector discarded.
- filesExcluded - Variable in class org.codehaus.plexus.util.DirectoryScanner
-
The files which matched at least one include and at least one exclude.
- filesIncluded - Variable in class org.codehaus.plexus.util.DirectoryScanner
-
The files which matched at least one include and no excludes and were selected.
- filesNotIncluded - Variable in class org.codehaus.plexus.util.DirectoryScanner
-
The files which did not match any includes or selectors.
- FileUtils - Class in org.codehaus.plexus.util
-
This class provides basic facilities for manipulating files and file paths.
- FileUtils() - Constructor for class org.codehaus.plexus.util.FileUtils
- FileUtils.FilterWrapper - Class in org.codehaus.plexus.util
- fileWrite(File, String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Writes data to a file.
- fileWrite(File, String, String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Writes data to a file.
- fileWrite(String, String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Writes data to a file.
- fileWrite(String, String, String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Writes data to a file.
- FilterWrapper() - Constructor for class org.codehaus.plexus.util.FileUtils.FilterWrapper
- flush() - Method in class org.codehaus.plexus.util.CachedMap
-
Flushes the key/value pairs being cached.
- forceDelete(File) - Static method in class org.codehaus.plexus.util.FileUtils
-
Delete a file.
- forceDelete(String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Delete a file.
- forceDeleteOnExit(File) - Static method in class org.codehaus.plexus.util.FileUtils
-
Schedule a file to be deleted when JVM exits.
- forceMkdir(File) - Static method in class org.codehaus.plexus.util.FileUtils
-
Make a directory.
- format(boolean, StringBuffer) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Formats the specified
booleanand appends the resulting text to theStringBufferargument. - format(double, double, StringBuffer) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Formats the specified
doubleand appends the resulting text to theStringBufferargument; the number of significative digits is deduced from the specified precision. - format(double, int, StringBuffer) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Formats the specified
doubleand appends the resulting text to theStringBufferargument; the number of significand digits is specified as integer argument. - format(double, StringBuffer) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Formats the specified
doubleand appends the resulting text to theStringBufferargument. - format(float, float, StringBuffer) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Formats the specified
floatand appends the resulting text to theStringBufferargument; the number of significative digits is deduced from the specified precision. - format(float, StringBuffer) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Formats the specified
floatand appends the resulting text to theStringBufferargument. - format(int, int, StringBuffer) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Formats the specified
intin the specified radix and appends the resulting text to theStringBufferargument. - format(int, StringBuffer) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Formats the specified
intand appends the resulting text (decimal representation) to theStringBufferargument. - format(long, int, StringBuffer) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Formats the specified
longin the specified radix and appends the resulting text to theStringBufferargument. - format(long, StringBuffer) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Formats the specified
longand appends the resulting text (decimal representation) to theStringBufferargument. - format(short, int, StringBuffer) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Formats the specified
shortin the specified radix and appends the resulting text to theStringBufferargument. - format(short, StringBuffer) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Formats the specified
shortand appends the resulting text (decimal representation) to theStringBufferargument. - from(Iterable<String>) - Static method in class org.codehaus.plexus.util.MatchPatterns
- from(String...) - Static method in class org.codehaus.plexus.util.MatchPatterns
- fromString(String) - Static method in class org.codehaus.plexus.util.MatchPattern
- FS - Static variable in class org.codehaus.plexus.util.FileUtils
-
The vm file separator
G
- get() - Method in class org.codehaus.plexus.util.SweeperPool
-
Return the pooled object
- get(Object) - Method in class org.codehaus.plexus.util.CachedMap
-
Returns the value to which this map maps the specified key.
- get(Object) - Method in class org.codehaus.plexus.util.FastMap
-
Returns the value to which this
FastMapmaps the specified key. - getBackingMap() - Method in class org.codehaus.plexus.util.CachedMap
-
Returns the backing map.
- getBasedir() - Method in class org.codehaus.plexus.util.DirectoryScanner
-
Returns the base directory to be scanned.
- getBasedir() - Method in interface org.codehaus.plexus.util.Scanner
-
Returns the base directory to be scanned.
- getBaseDir() - Method in class org.codehaus.plexus.util.DirectoryWalker
- getCacheSize() - Method in class org.codehaus.plexus.util.CachedMap
-
Returns the actual cache size.
- getCardinalityMap(Collection<E>) - Static method in class org.codehaus.plexus.util.CollectionUtils
-
Returns a
Mapmapping each unique element in the givenCollectionto anIntegerrepresenting the number of occurrences of that element in theCollection. - getCause(Throwable) - Static method in class org.codehaus.plexus.util.ExceptionUtils
-
Introspects the specified
Throwableto obtain the cause. - getCause(Throwable, String[]) - Static method in class org.codehaus.plexus.util.ExceptionUtils
-
Introspects the specified
Throwableto obtain the cause using a supplied array of method names. - getChomp(String, String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Remove everything and return the last value of a supplied String, and everything after it from a String.
- getDefaultExcludes() - Static method in class org.codehaus.plexus.util.FileUtils
- getDefaultExcludesAsList() - Static method in class org.codehaus.plexus.util.FileUtils
- getDefaultExcludesAsString() - Static method in class org.codehaus.plexus.util.FileUtils
- getDeselectedDirectories() - Method in class org.codehaus.plexus.util.DirectoryScanner
-
Returns the names of the directories which were selected out and therefore not ultimately included.
- getDeselectedFiles() - Method in class org.codehaus.plexus.util.DirectoryScanner
-
Returns the names of the files which were selected out and therefore not ultimately included.
- getDirectoryComponent(String) - Static method in class org.codehaus.plexus.util.PathTool
-
Determines the directory component of a filename.
- getDirectoryNames(File, String, String, boolean) - Static method in class org.codehaus.plexus.util.FileUtils
-
Return a list of directories as String depending options.
- getDirectoryNames(File, String, String, boolean, boolean) - Static method in class org.codehaus.plexus.util.FileUtils
-
Return a list of directories as String depending options.
- getEntry(Object) - Method in class org.codehaus.plexus.util.FastMap
-
Returns the entry with the specified key.
- getExcludedDirectories() - Method in class org.codehaus.plexus.util.DirectoryScanner
-
Returns the names of the directories which matched at least one of the include patterns and at least one of the exclude patterns.
- getExcludedFiles() - Method in class org.codehaus.plexus.util.DirectoryScanner
-
Returns the names of the files which matched at least one of the include patterns and at least one of the exclude patterns.
- getExcludes() - Method in class org.codehaus.plexus.util.DirectoryWalker
- getExtension(String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Get extension from filename.
- getFieldByNameIncludingSuperclasses(String, Class<?>) - Static method in class org.codehaus.plexus.util.ReflectionUtils
- getFieldsIncludingSuperclasses(Class<?>) - Static method in class org.codehaus.plexus.util.ReflectionUtils
- getFile(String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Creates a file handle.
- getFileAndDirectoryNames(File, String, String, boolean, boolean, boolean, boolean) - Static method in class org.codehaus.plexus.util.FileUtils
-
Return a list of files as String depending options.
- getFileNames(File, String, String, boolean) - Static method in class org.codehaus.plexus.util.FileUtils
-
Return a list of files as String depending options.
- getFileNames(File, String, String, boolean, boolean) - Static method in class org.codehaus.plexus.util.FileUtils
-
Return a list of files as String depending options.
- getFiles(File, String, String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Return the files contained in the directory, using inclusion and exclusion Ant patterns, including the directory name in each of the files
- getFiles(File, String, String, boolean) - Static method in class org.codehaus.plexus.util.FileUtils
-
Return the files contained in the directory, using inclusion and exclusion Ant patterns
- getFilesFromExtension(String, String[]) - Static method in class org.codehaus.plexus.util.FileUtils
-
Given a directory and an array of extensions return an array of compliant files.
- getFullStackTrace(Throwable) - Static method in class org.codehaus.plexus.util.ExceptionUtils
-
A way to get the entire nested stack-trace of an throwable.
- getIncludedDirectories() - Method in class org.codehaus.plexus.util.DirectoryScanner
-
Returns the names of the directories which matched at least one of the include patterns and none of the exclude patterns.
- getIncludedDirectories() - Method in interface org.codehaus.plexus.util.Scanner
-
Returns the names of the directories which matched at least one of the include patterns and none of the exclude patterns.
- getIncludedFiles() - Method in class org.codehaus.plexus.util.DirectoryScanner
-
Returns the names of the files which matched at least one of the include patterns and none of the exclude patterns.
- getIncludedFiles() - Method in interface org.codehaus.plexus.util.Scanner
-
Returns the names of the files which matched at least one of the include patterns and none of the exclude patterns.
- getIncludes() - Method in class org.codehaus.plexus.util.DirectoryWalker
- getInstance() - Static method in class org.codehaus.plexus.util.SelectorUtils
-
Retrieves the manager of the Singleton.
- getLastModified(File) - Static method in class org.codehaus.plexus.util.NioFiles
- getNestedString(String, String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Get the String that is nested in between two instances of the same String.
- getNestedString(String, String, String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Get the String that is nested in between two Strings.
- getNotIncludedDirectories() - Method in class org.codehaus.plexus.util.DirectoryScanner
-
Returns the names of the directories which matched none of the include patterns.
- getNotIncludedFiles() - Method in class org.codehaus.plexus.util.DirectoryScanner
-
Returns the names of the files which matched none of the include patterns.
- getPath(String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Get path from filename.
- getPath(String, char) - Static method in class org.codehaus.plexus.util.FileUtils
-
Get path from filename.
- getPrechomp(String, String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Remove and return everything before the first value of a supplied String from another String.
- getReader(Reader) - Method in class org.codehaus.plexus.util.FileUtils.FilterWrapper
- getRelativeFilePath(String, String) - Static method in class org.codehaus.plexus.util.PathTool
-
This method can calculate the relative path between two paths on a file system.
- getRelativePath(String) - Static method in class org.codehaus.plexus.util.PathTool
-
Determines the relative path of a filename.
- getRelativePath(String, String) - Static method in class org.codehaus.plexus.util.PathTool
-
Determines the relative path of a filename from a base directory.
- getRelativeWebPath(String, String) - Static method in class org.codehaus.plexus.util.PathTool
-
This method can calculate the relative path between two paths on a web site.
- getRootCause(Throwable) - Static method in class org.codehaus.plexus.util.ExceptionUtils
-
Walks through the exception chain to the last element -- the "root" of the tree -- using
ExceptionUtils.getCause(Throwable), and returns that exception. - getRootCauseStackTrace(Throwable) - Static method in class org.codehaus.plexus.util.ExceptionUtils
-
Creates a compact stack trace for the root cause of the supplied throwable.
- getSetter(String, Class<?>) - Static method in class org.codehaus.plexus.util.ReflectionUtils
-
Finds a setter in the given class for the given field.
- getSetters(Class<?>) - Static method in class org.codehaus.plexus.util.ReflectionUtils
-
Finds all setters in the given class and super classes.
- getSetterType(Method) - Static method in class org.codehaus.plexus.util.ReflectionUtils
-
Returns the class of the argument to the setter.
- getSize() - Method in class org.codehaus.plexus.util.SweeperPool
-
Return the number of pooled objects.
- getStackFrames(Throwable) - Static method in class org.codehaus.plexus.util.ExceptionUtils
-
Captures the stack trace associated with the specified
Throwableobject, decomposing it into a list of stack frames. - getStackTrace(Throwable) - Static method in class org.codehaus.plexus.util.ExceptionUtils
-
A convenient way of extracting the stack trace from an exception.
- getThrowableCount(Throwable) - Static method in class org.codehaus.plexus.util.ExceptionUtils
-
Returns the number of
Throwableobjects in the exception chain. - getThrowables(Throwable) - Static method in class org.codehaus.plexus.util.ExceptionUtils
-
Returns the list of
Throwableobjects in the exception chain. - getTokenizedPathChars() - Method in class org.codehaus.plexus.util.MatchPattern
- getTokenizedPathString() - Method in class org.codehaus.plexus.util.MatchPattern
- getValidFamilies() - Static method in class org.codehaus.plexus.util.Os
- getValueIncludingSuperclasses(String, Object) - Static method in class org.codehaus.plexus.util.ReflectionUtils
-
Generates a map of the fields and values on a given object, also pulls from superclasses
- getVariablesAndValuesIncludingSuperclasses(Object) - Static method in class org.codehaus.plexus.util.ReflectionUtils
-
Generates a map of the fields and values on a given object, also pulls from superclasses
H
- hashCode() - Method in class org.codehaus.plexus.util.CachedMap
-
Returns the hash code value for this map.
- hashCode() - Method in class org.codehaus.plexus.util.FastMap
-
Returns the hash code value for this
FastMap. - haveSlowResults - Variable in class org.codehaus.plexus.util.DirectoryScanner
-
Whether or not our results were built by a slow scan.
I
- includes - Variable in class org.codehaus.plexus.util.AbstractScanner
-
The patterns for the files to be included.
- indexOf(CharSequence, CharSequence, int) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Searches for a particular sequence within a character sequence (general purpose parsing function).
- indexOfAny(String, String[]) - Static method in class org.codehaus.plexus.util.StringUtils
-
Find the first index of any of a set of potential substrings.
- indexOfThrowable(Throwable, Class) - Static method in class org.codehaus.plexus.util.ExceptionUtils
-
Delegates to
ExceptionUtils.indexOfThrowable(Throwable, Class, int), starting the search at the beginning of the exception chain. - indexOfThrowable(Throwable, Class, int) - Static method in class org.codehaus.plexus.util.ExceptionUtils
-
Returns the (zero based) index, of the first
Throwablethat matches the specified type in the exception chain ofThrowableobjects with an index greater than or equal to the specified index, or-1if the type is not found. - interpolate(String, Map<?, ?>) - Static method in class org.codehaus.plexus.util.StringUtils
- InterpolationFilterReader - Class in org.codehaus.plexus.util
-
A FilterReader which interpolates keyword values into a character stream.
- InterpolationFilterReader(Reader, Map<?, Object>, String, String) - Constructor for class org.codehaus.plexus.util.InterpolationFilterReader
-
Construct a Reader to interpolate values enclosed between the given delimiter tokens.
- InterpolationFilterReader(Reader, Map<String, Object>) - Constructor for class org.codehaus.plexus.util.InterpolationFilterReader
-
Construct a Reader using the default interpolation delimiter tokens "${" and "}".
- intersection(Collection<E>, Collection<E>) - Static method in class org.codehaus.plexus.util.CollectionUtils
-
Returns a
Collectioncontaining the intersection of the givenCollections. - IOUtil - Class in org.codehaus.plexus.util
-
General IO Stream manipulation.
- isAlpha(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Checks if the String contains only unicode letters.
- isAlphanumeric(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Checks if the String contains only unicode letters or digits.
- isAlphanumericSpace(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Checks if the String contains only unicode letters, digits or space (
' '). - isAlphaSpace(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Checks if the String contains only unicode letters and space (
' '). - isArch(String) - Static method in class org.codehaus.plexus.util.Os
-
Determines if the current OS matches the given OS architecture.
- isArrayByteBase64(byte[]) - Static method in class org.codehaus.plexus.util.Base64
-
Tests a given byte array to see if it contains only valid characters within the Base64 alphabet.
- isBlank(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Checks if a String is whitespace, empty ("") or null.
- isCaseSensitive - Variable in class org.codehaus.plexus.util.AbstractScanner
-
Whether or not the file system should be treated as a case sensitive one.
- isEmpty() - Method in class org.codehaus.plexus.util.CachedMap
-
Returns
trueif this map contains no key-value mappings. - isEmpty() - Method in class org.codehaus.plexus.util.FastMap
-
Indicates if this
FastMapcontains no key-value mappings. - isEmpty(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Checks if a (trimmed) String is
nullor empty. - isEverythingIncluded() - Method in class org.codehaus.plexus.util.DirectoryScanner
-
Returns whether or not the scanner has included all the files or directories it has come across so far.
- isExcluded(String) - Method in class org.codehaus.plexus.util.AbstractScanner
-
Tests whether or not a name matches against at least one exclude pattern.
- isExcluded(String, String[]) - Method in class org.codehaus.plexus.util.AbstractScanner
- isFamily(String) - Static method in class org.codehaus.plexus.util.Os
-
Determines if the current OS matches the given OS family.
- isIncluded(String) - Method in class org.codehaus.plexus.util.AbstractScanner
-
Tests whether or not a name matches against at least one include pattern.
- isIncluded(String, String[]) - Method in class org.codehaus.plexus.util.AbstractScanner
- isName(String) - Static method in class org.codehaus.plexus.util.Os
-
Determines if the current OS matches the given OS name.
- isNestedThrowable(Throwable) - Static method in class org.codehaus.plexus.util.ExceptionUtils
-
Whether an Throwable is considered nested or not.
- isNotBlank(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Checks if a String is not empty (""), not null and not whitespace only.
- isNotEmpty(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Checks if a String is non
nulland is not empty (length > 0). - isNumeric(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Checks if the String contains only unicode digits.
- isNumericSpace(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Checks if the String contains only unicode digits or space (
' '). - ISO_8859_1 - Static variable in class org.codehaus.plexus.util.ReaderFactory
-
ISO Latin Alphabet #1, also known as ISO-LATIN-1.
- ISO_8859_1 - Static variable in class org.codehaus.plexus.util.WriterFactory
-
ISO Latin Alphabet #1, also known as ISO-LATIN-1.
- isOs(String, String, String, String) - Static method in class org.codehaus.plexus.util.Os
-
Determines if the current OS matches the given OS family, name, architecture and version.
- isOutOfDate(File, File, int) - Static method in class org.codehaus.plexus.util.SelectorUtils
-
Returns dependency information on these two files.
- isParentSymbolicLink(File, String) - Method in class org.codehaus.plexus.util.DirectoryScanner
-
Checks whether the parent of this file is a symbolic link.
- isSelected(String, File) - Method in class org.codehaus.plexus.util.DirectoryScanner
-
Tests whether a name should be selected.
- isSetter(Method) - Static method in class org.codehaus.plexus.util.ReflectionUtils
- isSymbolicLink(File) - Static method in class org.codehaus.plexus.util.NioFiles
- isSymbolicLink(File, String) - Method in class org.codehaus.plexus.util.DirectoryScanner
-
Checks whether a given file is a symbolic link.
- isValidFamily(String) - Static method in class org.codehaus.plexus.util.Os
-
Helper method to check if the given family is in the following list: dos mac netware os/2 tandem unix windows win9x z/os os/400 openvms
- isValidWindowsFileName(File) - Static method in class org.codehaus.plexus.util.FileUtils
-
For Windows OS, check if the file name contains any of the following characters:
":", "*", "?", "\"", "<", ">", "|" - isVersion(String) - Static method in class org.codehaus.plexus.util.Os
-
Determines if the current OS matches the given OS version.
- isWhitespace(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Checks if the String contains only whitespace.
- iteratorToList(Iterator<E>) - Static method in class org.codehaus.plexus.util.CollectionUtils
J
- join(Object[], String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Joins the elements of the provided array into a single String containing the provided list of elements.
- join(Iterator<?>, String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Joins the elements of the provided
Iteratorinto a single String containing the provided elements.
K
- keySet() - Method in class org.codehaus.plexus.util.CachedMap
-
Returns an unmodifiable view of the keys contained in this map.
- keySet() - Method in class org.codehaus.plexus.util.FastMap
-
Returns a set view of the keys contained in this
FastMap.
L
- lastIndexOfAny(String, String[]) - Static method in class org.codehaus.plexus.util.StringUtils
-
Find the latest index of any of a set of potential substrings.
- left(String, int) - Static method in class org.codehaus.plexus.util.StringUtils
-
Gets the leftmost
ncharacters of a String. - leftPad(String, int) - Static method in class org.codehaus.plexus.util.StringUtils
-
Left pad a String with spaces.
- leftPad(String, int, String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Left pad a String with a specified string.
- LineOrientedInterpolatingReader - Class in org.codehaus.plexus.util
-
A FilterReader which interpolates keyword values into a character stream.
- LineOrientedInterpolatingReader(Reader, Map<String, ?>) - Constructor for class org.codehaus.plexus.util.LineOrientedInterpolatingReader
-
Filters a Reader using the default escape sequence "\" and token delimiters "${", "}".
- LineOrientedInterpolatingReader(Reader, Map<String, ?>, String, String) - Constructor for class org.codehaus.plexus.util.LineOrientedInterpolatingReader
-
Filters a Reader using the default escape sequence "\".
- LineOrientedInterpolatingReader(Reader, Map<String, ?>, String, String, String) - Constructor for class org.codehaus.plexus.util.LineOrientedInterpolatingReader
-
Construct an interpolating Reader, specifying token delimiters and the escape sequence.
- loadFile(File) - Static method in class org.codehaus.plexus.util.FileUtils
-
Note: the file content is read with platform encoding
- loadProperties(File) - Static method in class org.codehaus.plexus.util.PropertyUtils
- loadProperties(InputStream) - Static method in class org.codehaus.plexus.util.PropertyUtils
- loadProperties(URL) - Static method in class org.codehaus.plexus.util.PropertyUtils
- lowerCase(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Convert a String to lower case,
nullString returnsnull. - lowercaseFirstLetter(String) - Static method in class org.codehaus.plexus.util.StringUtils
M
- mark(int) - Method in class org.codehaus.plexus.util.StringInputStream
-
Deprecated.Marks the read limit of the StringReader.
- markSupported() - Method in class org.codehaus.plexus.util.StringInputStream
-
Deprecated.
- match(char[], char[], boolean) - Static method in class org.codehaus.plexus.util.SelectorUtils
- match(String, String) - Static method in class org.codehaus.plexus.util.AbstractScanner
-
Tests whether or not a string matches against a pattern.
- match(String, String) - Static method in class org.codehaus.plexus.util.SelectorUtils
-
Tests whether or not a string matches against a pattern.
- match(String, String, boolean) - Static method in class org.codehaus.plexus.util.AbstractScanner
-
Tests whether or not a string matches against a pattern.
- match(String, String, boolean) - Static method in class org.codehaus.plexus.util.SelectorUtils
-
Tests whether or not a string matches against a pattern.
- matches(String, boolean) - Method in class org.codehaus.plexus.util.MatchPatterns
-
Checks these MatchPatterns against a specified string.
- matches(String, String[], boolean) - Method in class org.codehaus.plexus.util.MatchPatterns
- matchesPatternStart(String, boolean) - Method in class org.codehaus.plexus.util.MatchPatterns
- matchPath(String, boolean) - Method in class org.codehaus.plexus.util.MatchPattern
- matchPath(String, String) - Static method in class org.codehaus.plexus.util.AbstractScanner
-
Tests whether or not a given path matches a given pattern.
- matchPath(String, String) - Static method in class org.codehaus.plexus.util.SelectorUtils
-
Tests whether or not a given path matches a given pattern.
- matchPath(String, String, boolean) - Static method in class org.codehaus.plexus.util.AbstractScanner
-
Tests whether or not a given path matches a given pattern.
- matchPath(String, String, boolean) - Static method in class org.codehaus.plexus.util.SelectorUtils
-
Tests whether or not a given path matches a given pattern.
- matchPath(String, String, String, boolean) - Static method in class org.codehaus.plexus.util.SelectorUtils
- MatchPattern - Class in org.codehaus.plexus.util
-
Describes a match target for SelectorUtils.
- MatchPatterns - Class in org.codehaus.plexus.util
-
A list of patterns to be matched
- matchPatternStart(String, boolean) - Method in class org.codehaus.plexus.util.MatchPattern
- matchPatternStart(String, String) - Static method in class org.codehaus.plexus.util.AbstractScanner
-
Tests whether or not a given path matches the start of a given pattern up to the first "**".
- matchPatternStart(String, String) - Static method in class org.codehaus.plexus.util.SelectorUtils
-
Tests whether or not a given path matches the start of a given pattern up to the first "**".
- matchPatternStart(String, String, boolean) - Static method in class org.codehaus.plexus.util.AbstractScanner
-
Tests whether or not a given path matches the start of a given pattern up to the first "**".
- matchPatternStart(String, String, boolean) - Static method in class org.codehaus.plexus.util.SelectorUtils
-
Tests whether or not a given path matches the start of a given pattern up to the first "**".
- mergeMaps(Map<K, V>[]) - Static method in class org.codehaus.plexus.util.CollectionUtils
-
Take a series of
Maps and merge them where the ordering of the array from 0..n is the dominant order. - mergeMaps(Map<K, V>, Map<K, V>) - Static method in class org.codehaus.plexus.util.CollectionUtils
-
Take a dominant and recessive Map and merge the key:value pairs where the recessive Map may add key:value pairs to the dominant Map but may not override any existing key:value pairs.
- mid(String, int, int) - Static method in class org.codehaus.plexus.util.StringUtils
-
Gets
ncharacters from the middle of a String. - mkdir(String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Simple way to make a directory
- mkDirs(File, String[], File) - Static method in class org.codehaus.plexus.util.FileUtils
-
Creates a number of directories, as delivered from DirectoryScanner
N
- newPlatformReader(File) - Static method in class org.codehaus.plexus.util.ReaderFactory
-
Create a new Reader with default platform encoding.
- newPlatformReader(InputStream) - Static method in class org.codehaus.plexus.util.ReaderFactory
-
Create a new Reader with default platform encoding.
- newPlatformReader(URL) - Static method in class org.codehaus.plexus.util.ReaderFactory
-
Create a new Reader with default platform encoding.
- newPlatformWriter(File) - Static method in class org.codehaus.plexus.util.WriterFactory
-
Create a new Writer with default platform encoding.
- newPlatformWriter(OutputStream) - Static method in class org.codehaus.plexus.util.WriterFactory
-
Create a new Writer with default platform encoding.
- newReader(File, String) - Static method in class org.codehaus.plexus.util.ReaderFactory
-
Create a new Reader with specified encoding.
- newReader(InputStream, String) - Static method in class org.codehaus.plexus.util.ReaderFactory
-
Create a new Reader with specified encoding.
- newReader(URL, String) - Static method in class org.codehaus.plexus.util.ReaderFactory
-
Create a new Reader with specified encoding.
- newWriter(File, String) - Static method in class org.codehaus.plexus.util.WriterFactory
-
Create a new Writer with specified encoding.
- newWriter(OutputStream, String) - Static method in class org.codehaus.plexus.util.WriterFactory
-
Create a new Writer with specified encoding.
- newXmlReader(File) - Static method in class org.codehaus.plexus.util.ReaderFactory
-
Create a new Reader with XML encoding detection rules.
- newXmlReader(InputStream) - Static method in class org.codehaus.plexus.util.ReaderFactory
-
Create a new Reader with XML encoding detection rules.
- newXmlReader(URL) - Static method in class org.codehaus.plexus.util.ReaderFactory
-
Create a new Reader with XML encoding detection rules.
- newXmlWriter(File) - Static method in class org.codehaus.plexus.util.WriterFactory
-
Create a new Writer with XML encoding detection rules.
- newXmlWriter(OutputStream) - Static method in class org.codehaus.plexus.util.WriterFactory
-
Create a new Writer with XML encoding detection rules.
- NioFiles - Class in org.codehaus.plexus.util
-
Encapsulates use of java7 features, exposing mostly backward compatible types
- NioFiles() - Constructor for class org.codehaus.plexus.util.NioFiles
- normalize(String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Normalize a path.
O
- objectAdded(Object) - Method in class org.codehaus.plexus.util.SweeperPool
-
Override this to be notified of object addition.
- objectDisposed(Object) - Method in class org.codehaus.plexus.util.SweeperPool
-
Override this to be notified of object disposal.
- objectRetrieved(Object) - Method in class org.codehaus.plexus.util.SweeperPool
-
Override this to be notified of object retrieval.
- ONE_GB - Static variable in class org.codehaus.plexus.util.FileUtils
-
The number of bytes in a gigabyte.
- ONE_KB - Static variable in class org.codehaus.plexus.util.FileUtils
-
The number of bytes in a kilobyte.
- ONE_MB - Static variable in class org.codehaus.plexus.util.FileUtils
-
The number of bytes in a megabyte.
- org.codehaus.plexus.util - package org.codehaus.plexus.util
- Os - Class in org.codehaus.plexus.util
-
Condition that tests the OS type.
- Os() - Constructor for class org.codehaus.plexus.util.Os
-
Default constructor
- Os(String) - Constructor for class org.codehaus.plexus.util.Os
-
Constructor that sets the family attribute
- OS_ARCH - Static variable in class org.codehaus.plexus.util.Os
- OS_FAMILY - Static variable in class org.codehaus.plexus.util.Os
- OS_NAME - Static variable in class org.codehaus.plexus.util.Os
- OS_VERSION - Static variable in class org.codehaus.plexus.util.Os
- overlayString(String, String, int, int) - Static method in class org.codehaus.plexus.util.StringUtils
-
Overlay a part of a String with another String.
P
- parseBoolean(CharSequence) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Parses the specified
CharSequenceas aboolean. - parseDouble(CharSequence) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Parses this
CharSequenceas adouble. - parseFloat(CharSequence) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Parses this
CharSequenceas afloat. - parseInt(CharSequence) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Parses the specified
CharSequenceas a signed decimalint. - parseInt(CharSequence, int) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Parses the specified
CharSequenceas a signedintin the specified radix. - parseLong(CharSequence) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Parses the specified
CharSequenceas a signed decimallong. - parseLong(CharSequence, int) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Parses the specified
CharSequenceas a signedlongin the specified radix. - parseShort(CharSequence) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Parses the specified
CharSequenceas a signed decimalshort. - parseShort(CharSequence, int) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Parses the specified
CharSequenceas a signedshortin the specified radix. - PathTool - Class in org.codehaus.plexus.util
-
Path tool contains static methods to assist in determining path-related information such as relative paths.
- PathTool() - Constructor for class org.codehaus.plexus.util.PathTool
- PATTERN_HANDLER_PREFIX - Static variable in class org.codehaus.plexus.util.SelectorUtils
- PATTERN_HANDLER_SUFFIX - Static variable in class org.codehaus.plexus.util.SelectorUtils
- prechomp(String, String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Remove the first value of a supplied String, and everything before it from a String.
- printRootCauseStackTrace(Throwable) - Static method in class org.codehaus.plexus.util.ExceptionUtils
-
Equivalent to printRootCauseStackTrace(t, System.err)
- printRootCauseStackTrace(Throwable, PrintStream) - Static method in class org.codehaus.plexus.util.ExceptionUtils
-
Prints a compact stack trace for the root cause of a throwable.
- printRootCauseStackTrace(Throwable, PrintWriter) - Static method in class org.codehaus.plexus.util.ExceptionUtils
-
Same as printRootCauseStackTrace(t, stream), except it takes a PrintWriter as an argument.
- PropertyUtils - Class in org.codehaus.plexus.util
-
Static methods to create Properties loaded from various sources.
- PropertyUtils() - Constructor for class org.codehaus.plexus.util.PropertyUtils
- put(Object) - Method in class org.codehaus.plexus.util.SweeperPool
-
Add an object to the pool
- put(Object, Object) - Method in class org.codehaus.plexus.util.CachedMap
-
Associates the specified value with the specified key in this map.
- put(Object, Object) - Method in class org.codehaus.plexus.util.FastMap
-
Associates the specified value with the specified key in this
FastMap. - putAll(Map) - Method in class org.codehaus.plexus.util.CachedMap
-
Copies all of the mappings from the specified map to this map (optional operation).
- putAll(Map<? extends K, ? extends V>) - Method in class org.codehaus.plexus.util.FastMap
-
Copies all of the mappings from the specified map to this
FastMap.
Q
- quoteAndEscape(String, char) - Static method in class org.codehaus.plexus.util.StringUtils
-
Quote and escape a String with the given character, handling
null. - quoteAndEscape(String, char, char[]) - Static method in class org.codehaus.plexus.util.StringUtils
-
Quote and escape a String with the given character, handling
null. - quoteAndEscape(String, char, char[], char[], char, boolean) - Static method in class org.codehaus.plexus.util.StringUtils
- quoteAndEscape(String, char, char[], char[], String, boolean) - Static method in class org.codehaus.plexus.util.StringUtils
- quoteAndEscape(String, char, char[], char, boolean) - Static method in class org.codehaus.plexus.util.StringUtils
R
- read() - Method in class org.codehaus.plexus.util.InterpolationFilterReader
-
Returns the next character in the filtered stream, replacing tokens from the original stream.
- read() - Method in class org.codehaus.plexus.util.LineOrientedInterpolatingReader
- read() - Method in class org.codehaus.plexus.util.StringInputStream
-
Deprecated.Reads from the Stringreader, returning the same value.
- read(char[], int, int) - Method in class org.codehaus.plexus.util.InterpolationFilterReader
-
Reads characters into a portion of an array.
- read(char[], int, int) - Method in class org.codehaus.plexus.util.LineOrientedInterpolatingReader
- ReaderFactory - Class in org.codehaus.plexus.util
-
Utility to create Readers from streams, with explicit encoding choice: platform default, XML, or specified.
- ReaderFactory() - Constructor for class org.codehaus.plexus.util.ReaderFactory
- readSymbolicLink(File) - Static method in class org.codehaus.plexus.util.NioFiles
-
Reads the target of the symbolic link
- ReflectionUtils - Class in org.codehaus.plexus.util
-
Operations on a class' fields and their setters.
- ReflectionUtils() - Constructor for class org.codehaus.plexus.util.ReflectionUtils
- REGEX_HANDLER_PREFIX - Static variable in class org.codehaus.plexus.util.SelectorUtils
- remove(Object) - Method in class org.codehaus.plexus.util.CachedMap
-
Removes the mapping for this key from this map if it is present.
- remove(Object) - Method in class org.codehaus.plexus.util.FastMap
-
Removes the mapping for this key from this
FastMapif present. - removeAndHump(String, String) - Static method in class org.codehaus.plexus.util.StringUtils
- removeDirectoryWalkListener(DirectoryWalkListener) - Method in class org.codehaus.plexus.util.DirectoryWalker
-
Removes a DirectoryWalkListener.
- removeDuplicateWhitespace(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Remove all duplicate whitespace characters and line terminators are replaced with a single space.
- removeExtension(String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Remove extension from filename.
- removePath(String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Remove path from filename.
- removePath(String, char) - Static method in class org.codehaus.plexus.util.FileUtils
-
Remove path from filename.
- removeWhitespace(String) - Static method in class org.codehaus.plexus.util.SelectorUtils
-
"Flattens" a string by removing all whitespace (space, tab, linefeed, carriage return, and formfeed).
- rename(File, File) - Static method in class org.codehaus.plexus.util.FileUtils
-
Renames a file, even if that involves crossing file system boundaries.
- repeat(String, int) - Static method in class org.codehaus.plexus.util.StringUtils
-
Repeat a String
ntimes to form a new string. - replace(String, char, char) - Static method in class org.codehaus.plexus.util.StringUtils
-
Replace all occurrences of a char within another char.
- replace(String, char, char, int) - Static method in class org.codehaus.plexus.util.StringUtils
-
Replace a char with another char inside a larger String, for the first
maxvalues of the search char. - replace(String, String, String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Replace all occurrences of a String within another String.
- replace(String, String, String, int) - Static method in class org.codehaus.plexus.util.StringUtils
-
Replace a String with another String inside a larger String, for the first
maxvalues of the search String. - replaceOnce(String, char, char) - Static method in class org.codehaus.plexus.util.StringUtils
-
Replace a char with another char inside a larger String, once.
- replaceOnce(String, String, String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Replace a String with another String inside a larger String, once.
- reset() - Method in class org.codehaus.plexus.util.StringInputStream
-
Deprecated.Resets the StringReader.
- resolveFile(File, String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Resolve a file
filenameto it's canonical form. - reverse(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Reverse a String.
- reverseDelimitedString(String, String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Reverses a String that is delimited by a specific character.
- right(String, int) - Static method in class org.codehaus.plexus.util.StringUtils
-
Gets the rightmost
ncharacters of a String. - rightPad(String, int) - Static method in class org.codehaus.plexus.util.StringUtils
-
Right pad a String with spaces.
- rightPad(String, int, String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Right pad a String with a specified string.
S
- scan() - Method in class org.codehaus.plexus.util.DirectoryScanner
-
Scans the base directory for files which match at least one include pattern and don't match any exclude patterns.
- scan() - Method in class org.codehaus.plexus.util.DirectoryWalker
-
Performs a Scan against the provided
DirectoryWalker.setBaseDir(File) - scan() - Method in interface org.codehaus.plexus.util.Scanner
-
Scans the base directory for files which match at least one include pattern and don't match any exclude patterns.
- scandir(File, String, boolean) - Method in class org.codehaus.plexus.util.DirectoryScanner
-
Scans the given directory for files and directories.
- Scanner - Interface in org.codehaus.plexus.util
-
Scan a directory tree for files, with specified inclusions and exclusions.
- SelectorUtils - Class in org.codehaus.plexus.util
-
This is a utility class used by selectors and DirectoryScanner.
- setArch(String) - Method in class org.codehaus.plexus.util.Os
-
Sets the desired OS architecture
- setBasedir(File) - Method in class org.codehaus.plexus.util.DirectoryScanner
-
Sets the base directory to be scanned.
- setBasedir(String) - Method in class org.codehaus.plexus.util.DirectoryScanner
-
Sets the base directory to be scanned.
- setBaseDir(File) - Method in class org.codehaus.plexus.util.DirectoryWalker
- setCapacity(int) - Method in class org.codehaus.plexus.util.FastMap
-
Changes the current capacity of this
FastMap. - setCaseSensitive(boolean) - Method in class org.codehaus.plexus.util.AbstractScanner
-
Sets whether or not the file system should be regarded as case sensitive.
- setDebugMode(boolean) - Method in class org.codehaus.plexus.util.DirectoryWalker
- setDest(File) - Method in class org.codehaus.plexus.util.Expand
-
Set the destination directory.
- setExcludes(String[]) - Method in class org.codehaus.plexus.util.AbstractScanner
-
Sets the list of exclude patterns to use.
- setExcludes(String[]) - Method in interface org.codehaus.plexus.util.Scanner
-
Sets the list of exclude patterns to use.
- setExcludes(List<String>) - Method in class org.codehaus.plexus.util.DirectoryWalker
- setFamily(String) - Method in class org.codehaus.plexus.util.Os
-
Sets the desired OS family type
- setFollowSymlinks(boolean) - Method in class org.codehaus.plexus.util.DirectoryScanner
-
Sets whether or not symbolic links should be followed.
- setIncludes(String[]) - Method in class org.codehaus.plexus.util.AbstractScanner
-
Sets the list of include patterns to use.
- setIncludes(String[]) - Method in interface org.codehaus.plexus.util.Scanner
-
Sets the list of include patterns to use.
- setIncludes(List<String>) - Method in class org.codehaus.plexus.util.DirectoryWalker
- setName(String) - Method in class org.codehaus.plexus.util.Os
-
Sets the desired OS name
- setOverwrite(boolean) - Method in class org.codehaus.plexus.util.Expand
-
Should we overwrite files in dest, even if they are newer than the corresponding entries in the archive?
- setSrc(File) - Method in class org.codehaus.plexus.util.Expand
-
Set the path to zip-file.
- setupDefaultFilters() - Method in class org.codehaus.plexus.util.AbstractScanner
- setupMatchPatterns() - Method in class org.codehaus.plexus.util.AbstractScanner
- setVariableValueInObject(Object, String, Object) - Static method in class org.codehaus.plexus.util.ReflectionUtils
-
attempts to set the value to the variable in the object passed in
- setVersion(String) - Method in class org.codehaus.plexus.util.Os
-
Sets the desired OS version
- size() - Method in class org.codehaus.plexus.util.CachedMap
-
Returns the number of key-value mappings in this map.
- size() - Method in class org.codehaus.plexus.util.FastMap
-
Returns the number of key-value mappings in this
FastMap. - sizeChanged() - Method in class org.codehaus.plexus.util.FastMap
-
This methods is being called when the size of this
FastMaphas changed. - sizeOfDirectory(File) - Static method in class org.codehaus.plexus.util.FileUtils
-
Recursively count size of a directory.
- sizeOfDirectory(String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Recursively count size of a directory.
- skip(long) - Method in class org.codehaus.plexus.util.InterpolationFilterReader
-
Skips characters.
- skip(long) - Method in class org.codehaus.plexus.util.LineOrientedInterpolatingReader
- slowScan() - Method in class org.codehaus.plexus.util.DirectoryScanner
-
Top level invocation for a slow scan.
- split(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Splits the provided text into a array, using whitespace as the separator.
- split(String, String) - Static method in class org.codehaus.plexus.util.StringUtils
- split(String, String, int) - Static method in class org.codehaus.plexus.util.StringUtils
-
Splits the provided text into a array, based on a given separator.
- startsWith(String) - Method in class org.codehaus.plexus.util.MatchPattern
- StringInputStream - Class in org.codehaus.plexus.util
-
Deprecated.As of version 1.5.2 this class should no longer be used because it does not properly handle character encoding. Instead, wrap the output from
String.getBytes(String)into aByteArrayInputStream. - StringInputStream(String) - Constructor for class org.codehaus.plexus.util.StringInputStream
-
Deprecated.Composes a stream from a String
- StringOutputStream - Class in org.codehaus.plexus.util
-
Deprecated.As of version 1.5.2 this class should no longer be used because it does not properly handle character encoding. Instead, use
ByteArrayOutputStream.toString(String). - StringOutputStream() - Constructor for class org.codehaus.plexus.util.StringOutputStream
-
Deprecated.
- StringUtils - Class in org.codehaus.plexus.util
-
Common
Stringmanipulation routines. - StringUtils() - Constructor for class org.codehaus.plexus.util.StringUtils
-
StringUtilsinstances should NOT be constructed in standard programming. - strip(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Remove whitespace from the front and back of a String.
- strip(String, String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Remove a specified String from the front and back of a String.
- stripAll(String[]) - Static method in class org.codehaus.plexus.util.StringUtils
-
Strip whitespace from the front and back of every String in the array.
- stripAll(String[], String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Strip the specified delimiter from the front and back of every String in the array.
- stripEnd(String, String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Strip any of a supplied String from the end of a String.
- stripStart(String, String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Strip any of a supplied String from the start of a String.
- substring(String, int) - Static method in class org.codehaus.plexus.util.StringUtils
-
Gets a substring from the specified string avoiding exceptions.
- substring(String, int, int) - Static method in class org.codehaus.plexus.util.StringUtils
-
Gets a substring from the specified String avoiding exceptions.
- subtract(Collection<T>, Collection<T>) - Static method in class org.codehaus.plexus.util.CollectionUtils
-
Returns a
Collectioncontaininga - b. - swapCase(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Swaps the case of String.
- SweeperPool - Class in org.codehaus.plexus.util
-
Pools a bunch of objects .
- SweeperPool(int, int, int, int, int) - Constructor for class org.codehaus.plexus.util.SweeperPool
-
There are a number of settings to control how the pool operates.
T
- toByteArray(InputStream) - Static method in class org.codehaus.plexus.util.IOUtil
-
Get the contents of an
InputStreamas abyte[]. - toByteArray(InputStream, int) - Static method in class org.codehaus.plexus.util.IOUtil
-
Get the contents of an
InputStreamas abyte[]. - toByteArray(Reader) - Static method in class org.codehaus.plexus.util.IOUtil
-
Get the contents of a
Readeras abyte[]. - toByteArray(Reader, int) - Static method in class org.codehaus.plexus.util.IOUtil
-
Get the contents of a
Readeras abyte[]. - toByteArray(String) - Static method in class org.codehaus.plexus.util.IOUtil
-
Get the contents of a
Stringas abyte[]. - toByteArray(String, int) - Static method in class org.codehaus.plexus.util.IOUtil
-
Get the contents of a
Stringas abyte[]. - toFile(URL) - Static method in class org.codehaus.plexus.util.FileUtils
-
Convert from a
URLto aFile. - toString() - Method in class org.codehaus.plexus.util.FastMap
-
Returns a
Stringrepresentation of thisFastMap. - toString() - Method in class org.codehaus.plexus.util.StringOutputStream
-
Deprecated.
- toString(byte[]) - Static method in class org.codehaus.plexus.util.IOUtil
-
Get the contents of a
byte[]as a String. - toString(byte[], int) - Static method in class org.codehaus.plexus.util.IOUtil
-
Get the contents of a
byte[]as a String. - toString(byte[], String) - Static method in class org.codehaus.plexus.util.IOUtil
-
Get the contents of a
byte[]as a String. - toString(byte[], String, int) - Static method in class org.codehaus.plexus.util.IOUtil
-
Get the contents of a
byte[]as a String. - toString(InputStream) - Static method in class org.codehaus.plexus.util.IOUtil
-
Get the contents of an
InputStreamas a String. - toString(InputStream, int) - Static method in class org.codehaus.plexus.util.IOUtil
-
Get the contents of an
InputStreamas a String. - toString(InputStream, String) - Static method in class org.codehaus.plexus.util.IOUtil
-
Get the contents of an
InputStreamas a String. - toString(InputStream, String, int) - Static method in class org.codehaus.plexus.util.IOUtil
-
Get the contents of an
InputStreamas a String. - toString(Reader) - Static method in class org.codehaus.plexus.util.IOUtil
-
Get the contents of a
Readeras a String. - toString(Reader, int) - Static method in class org.codehaus.plexus.util.IOUtil
-
Get the contents of a
Readeras a String. - toURLs(File[]) - Static method in class org.codehaus.plexus.util.FileUtils
-
Convert the array of Files into a list of URLs.
- trim() - Method in class org.codehaus.plexus.util.SweeperPool
-
Trim the pool down to min size
- trim(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Removes control characters, including whitespace, from both ends of this String, handling
nullby returningnull. - TypeFormat - Class in org.codehaus.plexus.util
-
This class provides utility methods to parse
CharSequenceinto primitive types and to format primitive types intoStringBuffer.
U
- uncapitalise(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Uncapitalise a String.
- uncapitaliseAllWords(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Uncapitalise all the words in a string.
- unifyLineSeparators(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Parses the given String and replaces all occurrences of '\n', '\r' and '\r\n' with the system line separator.
- unifyLineSeparators(String, String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Parses the given String and replaces all occurrences of '\n', '\r' and '\r\n' with the system line separator.
- upperCase(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Convert a String to upper case,
nullString returnsnull. - US_ASCII - Static variable in class org.codehaus.plexus.util.ReaderFactory
-
Seven-bit ASCII, also known as ISO646-US, also known as the Basic Latin block of the Unicode character set.
- US_ASCII - Static variable in class org.codehaus.plexus.util.WriterFactory
-
Seven-bit ASCII, also known as ISO646-US, also known as the Basic Latin block of the Unicode character set.
- UTF_16 - Static variable in class org.codehaus.plexus.util.ReaderFactory
-
Sixteen-bit Unicode Transformation Format, byte order specified by a mandatory initial byte-order mark (either order accepted on input, big-endian used on output).
- UTF_16 - Static variable in class org.codehaus.plexus.util.WriterFactory
-
Sixteen-bit Unicode Transformation Format, byte order specified by a mandatory initial byte-order mark (either order accepted on input, big-endian used on output).
- UTF_16BE - Static variable in class org.codehaus.plexus.util.ReaderFactory
-
Sixteen-bit Unicode Transformation Format, big-endian byte order.
- UTF_16BE - Static variable in class org.codehaus.plexus.util.WriterFactory
-
Sixteen-bit Unicode Transformation Format, big-endian byte order.
- UTF_16LE - Static variable in class org.codehaus.plexus.util.ReaderFactory
-
Sixteen-bit Unicode Transformation Format, little-endian byte order.
- UTF_16LE - Static variable in class org.codehaus.plexus.util.WriterFactory
-
Sixteen-bit Unicode Transformation Format, little-endian byte order.
- UTF_8 - Static variable in class org.codehaus.plexus.util.ReaderFactory
-
Eight-bit Unicode Transformation Format.
- UTF_8 - Static variable in class org.codehaus.plexus.util.WriterFactory
-
Eight-bit Unicode Transformation Format.
V
- values() - Method in class org.codehaus.plexus.util.CachedMap
-
Returns an unmodifiable view of the values contained in this map.
- values() - Method in class org.codehaus.plexus.util.FastMap
-
Returns a collection view of the values contained in this
FastMap.
W
- waitFor(File, int) - Static method in class org.codehaus.plexus.util.FileUtils
-
Waits for NFS to propagate a file creation, imposing a timeout.
- waitFor(String, int) - Static method in class org.codehaus.plexus.util.FileUtils
-
Waits for NFS to propagate a file creation, imposing a timeout.
- write(byte[]) - Method in class org.codehaus.plexus.util.StringOutputStream
-
Deprecated.
- write(byte[], int, int) - Method in class org.codehaus.plexus.util.StringOutputStream
-
Deprecated.
- write(int) - Method in class org.codehaus.plexus.util.StringOutputStream
-
Deprecated.
- WriterFactory - Class in org.codehaus.plexus.util
-
Utility to create Writers, with explicit encoding choice: platform default, XML, or specified.
- WriterFactory() - Constructor for class org.codehaus.plexus.util.WriterFactory
All Classes All Packages