Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- abbreviate(String, int) - Static method in class org.codehaus.plexus.util.StringUtils
- abbreviate(String, int, int) - Static method in class org.codehaus.plexus.util.StringUtils
- 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
- AbstractStreamHandler - Class in org.codehaus.plexus.util.cli
- AbstractStreamHandler() - Constructor for class org.codehaus.plexus.util.cli.AbstractStreamHandler
- add(Method) - Method in class org.codehaus.plexus.util.introspection.MethodMap
-
Add a method to a list of methods by name.
- addAndDeHump(String) - Static method in class org.codehaus.plexus.util.StringUtils
- addArg(Arg) - Method in class org.codehaus.plexus.util.cli.Commandline
- addArg(Arg, boolean) - Method in class org.codehaus.plexus.util.cli.Commandline
-
Adds an argument object to our list of args.
- addArguments(String[]) - Method in class org.codehaus.plexus.util.cli.Commandline
- addCauseMethodName(String) - Static method in class org.codehaus.plexus.util.ExceptionUtils
-
Adds to the list of method names used in the search for
Throwable
objects. - 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
- addEdge(String, String) - Method in class org.codehaus.plexus.util.dag.DAG
- addEdge(Vertex, Vertex) - Method in class org.codehaus.plexus.util.dag.DAG
- addEdgeFrom(Vertex) - Method in class org.codehaus.plexus.util.dag.Vertex
- addEdgeTo(Vertex) - Method in class org.codehaus.plexus.util.dag.Vertex
- addEnvironment(String, String) - Method in class org.codehaus.plexus.util.cli.Commandline
-
Add an environment variable
- 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.
- addShellArg(String) - Method in class org.codehaus.plexus.util.cli.shell.Shell
- addSystemEnvironment() - Method in class org.codehaus.plexus.util.cli.Commandline
-
Add system environment variables
- addVertex(String) - Method in class org.codehaus.plexus.util.dag.DAG
-
Adds vertex to DAG.
- AmbiguousException() - Constructor for exception class org.codehaus.plexus.util.introspection.MethodMap.AmbiguousException
- ANT_HANDLER_PREFIX - Static variable in class org.codehaus.plexus.util.SelectorUtils
- Arg - Interface in org.codehaus.plexus.util.cli
- Argument() - Constructor for class org.codehaus.plexus.util.cli.Commandline.Argument
- arguments - Variable in class org.codehaus.plexus.util.cli.Commandline
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.
- BourneShell - Class in org.codehaus.plexus.util.cli.shell
- BourneShell() - Constructor for class org.codehaus.plexus.util.cli.shell.BourneShell
- BourneShell(boolean) - Constructor for class org.codehaus.plexus.util.cli.shell.BourneShell
- bufferedCopy(InputStream, OutputStream) - Static method in class org.codehaus.plexus.util.IOUtil
-
Deprecated.
- 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
Map
collections. - 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
FastMap
and 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.
- CachingOutputStream - Class in org.codehaus.plexus.util.io
-
Caching OutputStream to avoid overwriting a file with the same content.
- CachingOutputStream(File) - Constructor for class org.codehaus.plexus.util.io.CachingOutputStream
- CachingOutputStream(Path) - Constructor for class org.codehaus.plexus.util.io.CachingOutputStream
- CachingOutputStream(Path, int) - Constructor for class org.codehaus.plexus.util.io.CachingOutputStream
- CachingWriter - Class in org.codehaus.plexus.util.io
-
Caching Writer to avoid overwriting a file with the same content.
- CachingWriter(File, Charset) - Constructor for class org.codehaus.plexus.util.io.CachingWriter
- CachingWriter(Path, Charset) - Constructor for class org.codehaus.plexus.util.io.CachingWriter
- CachingWriter(Path, Charset, int) - Constructor for class org.codehaus.plexus.util.io.CachingWriter
- 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.
- call() - Method in interface org.codehaus.plexus.util.cli.CommandLineCallable
- 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
\n
from end of a String if it's there. - ClassMap - Class in org.codehaus.plexus.util.introspection
-
A cache of introspection information for a specific class instance.
- ClassMap(Class) - Constructor for class org.codehaus.plexus.util.introspection.ClassMap
-
Standard constructor
- clean(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Removes control characters, including whitespace, from both ends of this String, handling
null
by 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.cli.Commandline
-
Clear out the whole command line.
- clear() - Method in class org.codehaus.plexus.util.FastMap
-
Removes all mappings from this
FastMap
. - clearArgs() - Method in class org.codehaus.plexus.util.cli.Commandline
-
Clear out the arguments but leave the executable in place for another operation.
- clearArguments() - Method in class org.codehaus.plexus.util.cli.shell.Shell
- clone() - Method in class org.codehaus.plexus.util.cli.Commandline
- clone() - Method in class org.codehaus.plexus.util.cli.shell.Shell
- clone() - Method in class org.codehaus.plexus.util.dag.DAG
- clone() - Method in class org.codehaus.plexus.util.dag.Vertex
- clone() - Method in class org.codehaus.plexus.util.FastMap
-
Returns a shallow copy of this
FastMap
. - close() - Method in class org.codehaus.plexus.util.cli.StreamFeeder
- close() - Method in class org.codehaus.plexus.util.cli.StreamPumper
- close() - Method in class org.codehaus.plexus.util.io.CachingOutputStream
- close() - Method in class org.codehaus.plexus.util.StringInputStream
-
Deprecated.Closes the Stringreader.
- close(InputStream) - Static method in class org.codehaus.plexus.util.IOUtil
-
Deprecated.use try-with-resources instead
- close(OutputStream) - Static method in class org.codehaus.plexus.util.IOUtil
-
Deprecated.use try-with-resources instead
- close(Reader) - Static method in class org.codehaus.plexus.util.IOUtil
-
Deprecated.use try-with-resources instead
- close(Writer) - Static method in class org.codehaus.plexus.util.IOUtil
-
Deprecated.use try-with-resources instead
- close(Channel) - Static method in class org.codehaus.plexus.util.IOUtil
-
Deprecated.use try-with-resources instead
- CmdShell - Class in org.codehaus.plexus.util.cli.shell
-
Implementation to call the CMD Shell present on Windows NT, 2000 and XP
- CmdShell() - Constructor for class org.codehaus.plexus.util.cli.shell.CmdShell
- CollectionUtils - Class in org.codehaus.plexus.util
- CollectionUtils() - Constructor for class org.codehaus.plexus.util.CollectionUtils
- Commandline - Class in org.codehaus.plexus.util.cli
-
Commandline objects help handling command lines specifying processes to execute.
- Commandline() - Constructor for class org.codehaus.plexus.util.cli.Commandline
-
Create a new command line object.
- Commandline(String) - Constructor for class org.codehaus.plexus.util.cli.Commandline
-
Create a new command line object, given a command following POSIX sh quoting rules
- Commandline(String, Shell) - Constructor for class org.codehaus.plexus.util.cli.Commandline
-
Create a new command line object.
- Commandline(Shell) - Constructor for class org.codehaus.plexus.util.cli.Commandline
-
Create a new command line object.
- Commandline.Argument - Class in org.codehaus.plexus.util.cli
- Commandline.Marker - Class in org.codehaus.plexus.util.cli
-
Class to keep track of the position of an Argument.
- CommandLineCallable - Interface in org.codehaus.plexus.util.cli
-
Callable wrapper that exposes the proper exception type to the client.
- CommandLineException - Exception Class in org.codehaus.plexus.util.cli
- CommandLineException(String) - Constructor for exception class org.codehaus.plexus.util.cli.CommandLineException
- CommandLineException(String, Throwable) - Constructor for exception class org.codehaus.plexus.util.cli.CommandLineException
- CommandLineTimeOutException - Exception Class in org.codehaus.plexus.util.cli
- CommandLineTimeOutException(String) - Constructor for exception class org.codehaus.plexus.util.cli.CommandLineTimeOutException
- CommandLineTimeOutException(String, Throwable) - Constructor for exception class org.codehaus.plexus.util.cli.CommandLineTimeOutException
- CommandLineUtils - Class in org.codehaus.plexus.util.cli
- CommandLineUtils() - Constructor for class org.codehaus.plexus.util.cli.CommandLineUtils
- CommandLineUtils.StringStreamConsumer - Class in org.codehaus.plexus.util.cli
-
A
StreamConsumer
providing consumed lines as aString
. - CommandShell - Class in org.codehaus.plexus.util.cli.shell
-
Implementation to call the Command.com Shell present on Windows 95, 98 and Me
- CommandShell() - Constructor for class org.codehaus.plexus.util.cli.shell.CommandShell
- concatenate(Object[]) - Static method in class org.codehaus.plexus.util.StringUtils
-
Concatenates elements of an array into a single String.
- consumeLine(String) - Method in class org.codehaus.plexus.util.cli.CommandLineUtils.StringStreamConsumer
- consumeLine(String) - Method in class org.codehaus.plexus.util.cli.DefaultConsumer
- consumeLine(String) - Method in interface org.codehaus.plexus.util.cli.StreamConsumer
-
Called when the StreamPumper pumps a line from the Stream.
- consumeLine(String) - Method in class org.codehaus.plexus.util.cli.WriterStreamConsumer
- 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
FastMap
contains a mapping for the specified key. - containsValue(Object) - Method in class org.codehaus.plexus.util.CachedMap
-
Returns
true
if this map maps one or more keys to the specified value. - containsValue(Object) - Method in class org.codehaus.plexus.util.FastMap
-
Indicates if this
FastMap
maps 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
InputStream
to anOutputStream
. - copy(InputStream, OutputStream, int) - Static method in class org.codehaus.plexus.util.IOUtil
-
Copy bytes from an
InputStream
to anOutputStream
. - copy(InputStream, Writer) - Static method in class org.codehaus.plexus.util.IOUtil
-
Copy and convert bytes from an
InputStream
to chars on aWriter
. - copy(InputStream, Writer, int) - Static method in class org.codehaus.plexus.util.IOUtil
-
Copy and convert bytes from an
InputStream
to chars on aWriter
. - copy(InputStream, Writer, String) - Static method in class org.codehaus.plexus.util.IOUtil
-
Copy and convert bytes from an
InputStream
to 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
InputStream
to chars on aWriter
, using the specified encoding. - copy(Reader, OutputStream) - Static method in class org.codehaus.plexus.util.IOUtil
-
Serialize chars from a
Reader
to bytes on anOutputStream
, and flush theOutputStream
. - copy(Reader, OutputStream, int) - Static method in class org.codehaus.plexus.util.IOUtil
-
Serialize chars from a
Reader
to bytes on anOutputStream
, and flush theOutputStream
. - copy(Reader, Writer) - Static method in class org.codehaus.plexus.util.IOUtil
-
Copy chars from a
Reader
to aWriter
. - copy(Reader, Writer, int) - Static method in class org.codehaus.plexus.util.IOUtil
-
Copy chars from a
Reader
to aWriter
. - copy(String, OutputStream) - Static method in class org.codehaus.plexus.util.IOUtil
-
Serialize chars from a
String
to bytes on anOutputStream
, and flush theOutputStream
. - copy(String, OutputStream, int) - Static method in class org.codehaus.plexus.util.IOUtil
-
Serialize chars from a
String
to bytes on anOutputStream
, and flush theOutputStream
. - copy(String, Writer) - Static method in class org.codehaus.plexus.util.IOUtil
-
Copy chars from a
String
to 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
- copyURLToFile(URL, File) - Static method in class org.codehaus.plexus.util.FileUtils
-
Copies bytes from the URL
source
to 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.
- createArg() - Method in class org.codehaus.plexus.util.cli.Commandline
-
Creates an argument object.
- createArg(boolean) - Method in class org.codehaus.plexus.util.cli.Commandline
- createArgument() - Method in class org.codehaus.plexus.util.cli.Commandline
-
Deprecated.Use
Commandline.createArg()
instead - createArgument(boolean) - Method in class org.codehaus.plexus.util.cli.Commandline
-
Deprecated.Use
Commandline.createArg(boolean)
instead - createMarker() - Method in class org.codehaus.plexus.util.cli.Commandline
-
This marker can be used to locate a position on the commandline - to insert something for example - when all parameters have been set.
- 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.
- CycleDetectedException - Exception Class in org.codehaus.plexus.util.dag
- CycleDetectedException(String, List<String>) - Constructor for exception class org.codehaus.plexus.util.dag.CycleDetectedException
- CycleDetector - Class in org.codehaus.plexus.util.dag
- CycleDetector() - Constructor for class org.codehaus.plexus.util.dag.CycleDetector
- cycleToString() - Method in exception class org.codehaus.plexus.util.dag.CycleDetectedException
D
- DAG - Class in org.codehaus.plexus.util.dag
-
DAG = Directed Acyclic Graph
- DAG() - Constructor for class org.codehaus.plexus.util.dag.DAG
- 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
- DefaultConsumer - Class in org.codehaus.plexus.util.cli
- DefaultConsumer() - Constructor for class org.codehaus.plexus.util.cli.DefaultConsumer
- 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/** Git: **/.git, **/.git/**, **/.gitignore 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.
- disable() - Method in class org.codehaus.plexus.util.cli.AbstractStreamHandler
- 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
- EnhancedStringTokenizer - Class in org.codehaus.plexus.util.cli
-
The java.util.StringTokenizer is horribly broken.
- EnhancedStringTokenizer(String) - Constructor for class org.codehaus.plexus.util.cli.EnhancedStringTokenizer
- EnhancedStringTokenizer(String, String) - Constructor for class org.codehaus.plexus.util.cli.EnhancedStringTokenizer
- EnhancedStringTokenizer(String, String, boolean) - Constructor for class org.codehaus.plexus.util.cli.EnhancedStringTokenizer
- 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
. - envVars - Variable in class org.codehaus.plexus.util.cli.Commandline
- 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
FastMap
for 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
true
if 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
- evaluate(String, Object) - Static method in class org.codehaus.plexus.util.introspection.ReflectionValueExtractor
-
The implementation supports indexed, nested and mapped properties.
- evaluate(String, Object, boolean) - Static method in class org.codehaus.plexus.util.introspection.ReflectionValueExtractor
-
The implementation supports indexed, nested and mapped properties.
- 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
-
ExceptionUtils
provides utilities for manipulatingThrowable
objects. - 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.
- executable - Variable in class org.codehaus.plexus.util.cli.Commandline
-
Deprecated.Use
Commandline.setExecutable(String)
instead. - execute() - Method in class org.codehaus.plexus.util.cli.Commandline
-
Executes the command.
- execute() - Method in class org.codehaus.plexus.util.Expand
-
Do the work.
- executeCommandLine(Commandline, InputStream, StreamConsumer, StreamConsumer) - Static method in class org.codehaus.plexus.util.cli.CommandLineUtils
- executeCommandLine(Commandline, InputStream, StreamConsumer, StreamConsumer, int) - Static method in class org.codehaus.plexus.util.cli.CommandLineUtils
- executeCommandLine(Commandline, StreamConsumer, StreamConsumer) - Static method in class org.codehaus.plexus.util.cli.CommandLineUtils
- executeCommandLine(Commandline, StreamConsumer, StreamConsumer, int) - Static method in class org.codehaus.plexus.util.cli.CommandLineUtils
- executeCommandLineAsCallable(Commandline, InputStream, StreamConsumer, StreamConsumer, int) - Static method in class org.codehaus.plexus.util.cli.CommandLineUtils
-
Immediately forks a process, returns a callable that will block until process is complete.
- 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
- 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
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
Map
collection with real-time behavior. - FastMap() - Constructor for class org.codehaus.plexus.util.FastMap
-
Creates a
FastMap
with a capacity of256
entries. - FastMap(int) - Constructor for class org.codehaus.plexus.util.FastMap
-
Creates a
FastMap
with 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
-
Deprecated.The
file.encoding
System Property. - FILE_ENCODING - Static variable in class org.codehaus.plexus.util.WriterFactory
-
Deprecated.The
file.encoding
System Property. - fileAppend(String, String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Deprecated.use
java.nio.files.Files.write(filename, data.getBytes(encoding), StandardOpenOption.APPEND, StandardOpenOption.CREATE)
- fileAppend(String, String, String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Deprecated.use
java.nio.files.Files.write(filename, data.getBytes(encoding), StandardOpenOption.APPEND, StandardOpenOption.CREATE)
- 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.
- filenameComparator - Variable in class org.codehaus.plexus.util.AbstractScanner
- 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
- find(String, Object[]) - Method in class org.codehaus.plexus.util.introspection.MethodMap
-
Find a method.
- findMethod(String, Object[]) - Method in class org.codehaus.plexus.util.introspection.ClassMap
-
Find a Method using the methodKey provided.
- flush() - Method in class org.codehaus.plexus.util.CachedMap
-
Flushes the key/value pairs being cached.
- flush() - Method in class org.codehaus.plexus.util.cli.StreamPumper
- flush() - Method in class org.codehaus.plexus.util.io.CachingOutputStream
- 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
boolean
and appends the resulting text to theStringBuffer
argument. - format(double, double, StringBuffer) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Formats the specified
double
and appends the resulting text to theStringBuffer
argument; 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
double
and appends the resulting text to theStringBuffer
argument; 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
double
and appends the resulting text to theStringBuffer
argument. - format(float, float, StringBuffer) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Formats the specified
float
and appends the resulting text to theStringBuffer
argument; 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
float
and appends the resulting text to theStringBuffer
argument. - format(int, int, StringBuffer) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Formats the specified
int
in the specified radix and appends the resulting text to theStringBuffer
argument. - format(int, StringBuffer) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Formats the specified
int
and appends the resulting text (decimal representation) to theStringBuffer
argument. - format(long, int, StringBuffer) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Formats the specified
long
in the specified radix and appends the resulting text to theStringBuffer
argument. - format(long, StringBuffer) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Formats the specified
long
and appends the resulting text (decimal representation) to theStringBuffer
argument. - format(short, int, StringBuffer) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Formats the specified
short
in the specified radix and appends the resulting text to theStringBuffer
argument. - format(short, StringBuffer) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Formats the specified
short
and appends the resulting text (decimal representation) to theStringBuffer
argument. - 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
FastMap
maps the specified key. - get(String) - Method in class org.codehaus.plexus.util.introspection.MethodMap
-
Return a list of methods with the same name.
- getArgumentEscapePattern() - Method in class org.codehaus.plexus.util.cli.shell.Shell
- getArgumentQuoteDelimiter() - Method in class org.codehaus.plexus.util.cli.shell.Shell
- getArguments() - Method in class org.codehaus.plexus.util.cli.Commandline
- 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
Map
mapping each unique element in the givenCollection
to anInteger
representing the number of occurrences of that element in theCollection
. - getCause(Throwable) - Static method in class org.codehaus.plexus.util.ExceptionUtils
-
Introspects the specified
Throwable
to obtain the cause. - getCause(Throwable, String[]) - Static method in class org.codehaus.plexus.util.ExceptionUtils
-
Introspects the specified
Throwable
to obtain the cause using a supplied array of method names. - getChildLabels() - Method in class org.codehaus.plexus.util.dag.Vertex
-
Get the labels used by the most direct children.
- getChildLabels(String) - Method in class org.codehaus.plexus.util.dag.DAG
- getChildren() - Method in class org.codehaus.plexus.util.dag.Vertex
- 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.
- getCommandline() - Method in class org.codehaus.plexus.util.cli.Commandline
- getCommandLine(String, String[]) - Method in class org.codehaus.plexus.util.cli.shell.CmdShell
-
Specific implementation that quotes all the command line.
- getCommandLine(String, String[]) - Method in class org.codehaus.plexus.util.cli.shell.Shell
-
Get the command line for the provided executable and arguments in this shell
- getConstructor(Class<T>, Class[]) - Method in class org.codehaus.plexus.util.reflection.Reflector
-
Return the constructor, checking the cache first and storing in cache if not already there..
- getCycle() - Method in exception class org.codehaus.plexus.util.dag.CycleDetectedException
- 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.
- getEnvironmentVariables() - Method in class org.codehaus.plexus.util.cli.Commandline
- getEscapeChars(boolean, boolean) - Method in class org.codehaus.plexus.util.cli.shell.Shell
- getException() - Method in class org.codehaus.plexus.util.cli.StreamFeeder
- getException() - Method in class org.codehaus.plexus.util.cli.StreamPumper
- 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
- getExecutable() - Method in class org.codehaus.plexus.util.cli.Commandline
-
Return an executable name, quoted for shell use.
- getExecutable() - Method in class org.codehaus.plexus.util.cli.shell.BourneShell
- getExecutable() - Method in class org.codehaus.plexus.util.cli.shell.Shell
- getExecutableQuoteDelimiter() - Method in class org.codehaus.plexus.util.cli.shell.Shell
- getExecutionPreamble() - Method in class org.codehaus.plexus.util.cli.shell.BourneShell
- getExecutionPreamble() - Method in class org.codehaus.plexus.util.cli.shell.Shell
- getExtension(String) - Static method in class org.codehaus.plexus.util.FileUtils
-
Get extension from filename.
- getField(Object, String) - Method in class org.codehaus.plexus.util.reflection.Reflector
- getField(Object, String, boolean) - Method in class org.codehaus.plexus.util.reflection.Reflector
- 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
- getInputStream() - Method in interface org.codehaus.plexus.util.io.InputStreamFacade
-
The caller must assume, that this method may be invoked only once.
- getInputStream() - Method in class org.codehaus.plexus.util.io.RawInputStreamFacade
- getInputStream() - Method in class org.codehaus.plexus.util.io.URLInputStreamFacade
- getInstance() - Static method in class org.codehaus.plexus.util.SelectorUtils
- getLabel() - Method in class org.codehaus.plexus.util.dag.Vertex
- getLabels() - Method in class org.codehaus.plexus.util.dag.DAG
- getLastModified(File) - Static method in class org.codehaus.plexus.util.NioFiles
- getLiteralExecutable() - Method in class org.codehaus.plexus.util.cli.Commandline
- getMessage() - Method in exception class org.codehaus.plexus.util.dag.CycleDetectedException
- getMethod(Class, String, Class[]) - Method in class org.codehaus.plexus.util.reflection.Reflector
-
Return the method, checking the cache first and storing in cache if not already there..
- 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.
- getObjectProperty(Object, String) - Method in class org.codehaus.plexus.util.reflection.Reflector
- getOriginalCommandLine(String, String[]) - Method in class org.codehaus.plexus.util.cli.shell.Shell
- getOriginalExecutable() - Method in class org.codehaus.plexus.util.cli.shell.Shell
- getOutput() - Method in class org.codehaus.plexus.util.cli.CommandLineUtils.StringStreamConsumer
- getParentLabels() - Method in class org.codehaus.plexus.util.dag.Vertex
-
Get the labels used by the most direct ancestors (parents).
- getParentLabels(String) - Method in class org.codehaus.plexus.util.dag.DAG
- getParents() - Method in class org.codehaus.plexus.util.dag.Vertex
-
Get the list the most direct ancestors (parents).
- getParts() - Method in interface org.codehaus.plexus.util.cli.Arg
- getParts() - Method in class org.codehaus.plexus.util.cli.Commandline.Argument
- 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.
- getPid() - Method in class org.codehaus.plexus.util.cli.Commandline
- getPosition() - Method in class org.codehaus.plexus.util.cli.Commandline.Marker
- 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.
- getPublicMethod(Method) - Static method in class org.codehaus.plexus.util.introspection.ClassMap
-
For a given method, retrieves its publicly accessible counterpart.
- getQuotingTriggerChars() - Method in class org.codehaus.plexus.util.cli.shell.Shell
- getRawCommandline() - Method in class org.codehaus.plexus.util.cli.Commandline
-
Returns the executable and all defined arguments.
- getRawCommandLine(String, String[]) - Method in class org.codehaus.plexus.util.cli.shell.Shell
- 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
- getSetterType(Method) - Static method in class org.codehaus.plexus.util.ReflectionUtils
- getShell() - Method in class org.codehaus.plexus.util.cli.Commandline
-
Get the shell to be used in this command line.
- getShellArgs() - Method in class org.codehaus.plexus.util.cli.shell.BourneShell
- getShellArgs() - Method in class org.codehaus.plexus.util.cli.shell.Shell
- getShellArgsList() - Method in class org.codehaus.plexus.util.cli.shell.BourneShell
- getShellArgsList() - Method in class org.codehaus.plexus.util.cli.shell.Shell
- getShellCommand() - Method in class org.codehaus.plexus.util.cli.shell.Shell
-
Get the command to execute the shell
- getShellCommandline() - Method in class org.codehaus.plexus.util.cli.Commandline
-
Returns the shell, executable and all defined arguments.
- getShellCommandLine(String[]) - Method in class org.codehaus.plexus.util.cli.shell.Shell
-
Get the full command line to execute, including shell command, shell arguments, executable and executable arguments
- getSingleton(Class<T>, Object[]) - Method in class org.codehaus.plexus.util.reflection.Reflector
-
Retrieve the singleton instance of a class, given the array of parameters...
- 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
Throwable
object, 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.
- getStaticField(Class, String) - Method in class org.codehaus.plexus.util.reflection.Reflector
- getSuccessorLabels(String) - Method in class org.codehaus.plexus.util.dag.DAG
-
Return the list of labels of successor in order decided by topological sort
- getSystemEnvVars() - Method in class org.codehaus.plexus.util.cli.Commandline
- getSystemEnvVars() - Static method in class org.codehaus.plexus.util.cli.CommandLineUtils
-
Gets the shell environment variables for this process.
- getSystemEnvVars(boolean) - Static method in class org.codehaus.plexus.util.cli.CommandLineUtils
-
Return the shell environment variables.
- getThrowableCount(Throwable) - Static method in class org.codehaus.plexus.util.ExceptionUtils
-
Returns the number of
Throwable
objects in the exception chain. - getThrowables(Throwable) - Static method in class org.codehaus.plexus.util.ExceptionUtils
-
Returns the list of
Throwable
objects 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
- getVertex(String) - Method in class org.codehaus.plexus.util.dag.DAG
- getVertices() - Method in class org.codehaus.plexus.util.dag.DAG
- getVerticies() - Method in class org.codehaus.plexus.util.dag.DAG
-
Deprecated.instead use
DAG.getVertices()
- getWorkingDirectory() - Method in class org.codehaus.plexus.util.cli.Commandline
- getWorkingDirectory() - Method in class org.codehaus.plexus.util.cli.shell.Shell
- getWorkingDirectoryAsString() - Method in class org.codehaus.plexus.util.cli.shell.Shell
H
- hasCycle(DAG) - Static method in class org.codehaus.plexus.util.dag.CycleDetector
- hasEdge(String, String) - Method in class org.codehaus.plexus.util.dag.DAG
- 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
. - hasMoreTokens() - Method in class org.codehaus.plexus.util.cli.EnhancedStringTokenizer
- 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
Throwable
that matches the specified type in the exception chain ofThrowable
objects with an index greater than or equal to the specified index, or-1
if the type is not found. - InputStreamFacade - Interface in org.codehaus.plexus.util.io
-
Interface of a wrapper for input streams.
- 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
Collection
containing the intersection of the givenCollection
s. - introducesCycle(Vertex) - Static method in class org.codehaus.plexus.util.dag.CycleDetector
- introducesCycle(Vertex, Map<Vertex, Integer>) - Static method in class org.codehaus.plexus.util.dag.CycleDetector
-
This method will be called when an edge leading to given vertex was added and we want to check if introduction of this edge has not resulted in apparition of cycle in the graph
- invoke(Object, String, Object[]) - Method in class org.codehaus.plexus.util.reflection.Reflector
-
Invoke the specified method on the specified target with the specified params...
- invokeStatic(Class, String, Object[]) - Method in class org.codehaus.plexus.util.reflection.Reflector
-
Invoke the specified static method with the specified params...
- IOUtil - Class in org.codehaus.plexus.util
-
General IO Stream manipulation.
- isAlive(Process) - Static method in class org.codehaus.plexus.util.cli.CommandLineUtils
- 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.
- isConnected() - Method in class org.codehaus.plexus.util.dag.Vertex
-
Indicates if there is at least one edee leading to or from given vertex
- isConnected(String) - Method in class org.codehaus.plexus.util.dag.DAG
-
Indicates if there is at least one edge leading to or from vertex of given label
- isDisabled() - Method in class org.codehaus.plexus.util.cli.AbstractStreamHandler
- isDone() - Method in class org.codehaus.plexus.util.cli.AbstractStreamHandler
- isDoubleQuotedArgumentEscaped() - Method in class org.codehaus.plexus.util.cli.shell.Shell
- isDoubleQuotedExecutableEscaped() - Method in class org.codehaus.plexus.util.cli.shell.Shell
- isEmpty() - Method in class org.codehaus.plexus.util.CachedMap
-
Returns
true
if this map contains no key-value mappings. - isEmpty() - Method in class org.codehaus.plexus.util.FastMap
-
Indicates if this
FastMap
contains no key-value mappings. - isEmpty(String) - Static method in class org.codehaus.plexus.util.StringUtils
-
Checks if a String is
null
or 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, char[][]) - Method in class org.codehaus.plexus.util.AbstractScanner
- 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, char[][]) - Method in class org.codehaus.plexus.util.AbstractScanner
- isIncluded(String, String[]) - Method in class org.codehaus.plexus.util.AbstractScanner
- isLeaf() - Method in class org.codehaus.plexus.util.dag.Vertex
-
Indicates if given vertex has no child
- isModified() - Method in class org.codehaus.plexus.util.io.CachingOutputStream
- isModified() - Method in class org.codehaus.plexus.util.io.CachingWriter
- 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
null
and 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
-
Deprecated.ISO Latin Alphabet #1, also known as ISO-LATIN-1.
- ISO_8859_1 - Static variable in class org.codehaus.plexus.util.WriterFactory
-
Deprecated.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.
- isQuotedArgumentsEnabled() - Method in class org.codehaus.plexus.util.cli.shell.Shell
- isQuotedExecutableEnabled() - Method in class org.codehaus.plexus.util.cli.shell.Shell
- isRoot() - Method in class org.codehaus.plexus.util.dag.Vertex
-
Indicates if given vertex has no parent
- 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
- isSingleQuotedArgumentEscaped() - Method in class org.codehaus.plexus.util.cli.shell.Shell
- isSingleQuotedExecutableEscaped() - Method in class org.codehaus.plexus.util.cli.shell.Shell
- 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
Iterator
into 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
n
characters 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.
- linkFile(File, File) - Static method in class org.codehaus.plexus.util.FileUtils
-
Link file from destination to source.
- 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,
null
String 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, char[][], boolean) - Method in class org.codehaus.plexus.util.MatchPatterns
- 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
Map
s 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.
- MethodMap - Class in org.codehaus.plexus.util.introspection
- MethodMap() - Constructor for class org.codehaus.plexus.util.introspection.MethodMap
- MethodMap.AmbiguousException - Exception Class in org.codehaus.plexus.util.introspection
-
simple distinguishable exception, used when we run across ambiguous overloading
- mid(String, int, int) - Static method in class org.codehaus.plexus.util.StringUtils
-
Gets
n
characters 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
- newInstance(Class<T>, Object[]) - Method in class org.codehaus.plexus.util.reflection.Reflector
-
Create a new instance of a class, given the array of parameters...
- newPlatformReader(File) - Static method in class org.codehaus.plexus.util.ReaderFactory
-
Deprecated.Create a new Reader with default platform encoding.
- newPlatformReader(InputStream) - Static method in class org.codehaus.plexus.util.ReaderFactory
-
Deprecated.Create a new Reader with default platform encoding.
- newPlatformReader(URL) - Static method in class org.codehaus.plexus.util.ReaderFactory
-
Deprecated.Create a new Reader with default platform encoding.
- newPlatformWriter(File) - Static method in class org.codehaus.plexus.util.WriterFactory
-
Deprecated.Create a new Writer with default platform encoding.
- newPlatformWriter(OutputStream) - Static method in class org.codehaus.plexus.util.WriterFactory
-
Deprecated.Create a new Writer with default platform encoding.
- newReader(File, String) - Static method in class org.codehaus.plexus.util.ReaderFactory
-
Deprecated.Create a new Reader with specified encoding.
- newReader(InputStream, String) - Static method in class org.codehaus.plexus.util.ReaderFactory
-
Deprecated.Create a new Reader with specified encoding.
- newReader(URL, String) - Static method in class org.codehaus.plexus.util.ReaderFactory
-
Deprecated.Create a new Reader with specified encoding.
- newWriter(File, String) - Static method in class org.codehaus.plexus.util.WriterFactory
-
Deprecated.Create a new Writer with specified encoding.
- newWriter(OutputStream, String) - Static method in class org.codehaus.plexus.util.WriterFactory
-
Deprecated.Create a new Writer with specified encoding.
- newXmlReader(File) - Static method in class org.codehaus.plexus.util.ReaderFactory
-
Deprecated.Create a new Reader with XML encoding detection rules.
- newXmlReader(InputStream) - Static method in class org.codehaus.plexus.util.ReaderFactory
-
Deprecated.Create a new Reader with XML encoding detection rules.
- newXmlReader(URL) - Static method in class org.codehaus.plexus.util.ReaderFactory
-
Deprecated.Create a new Reader with XML encoding detection rules.
- newXmlWriter(File) - Static method in class org.codehaus.plexus.util.WriterFactory
-
Deprecated.Create a new Writer with XML encoding detection rules.
- newXmlWriter(OutputStream) - Static method in class org.codehaus.plexus.util.WriterFactory
-
Deprecated.Create a new Writer with XML encoding detection rules.
- nextToken() - Method in class org.codehaus.plexus.util.cli.EnhancedStringTokenizer
- 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
-
Miscellaneous utilities, mainly dealing with I/O, strings, and filesystems.
- org.codehaus.plexus.util.cli - package org.codehaus.plexus.util.cli
-
Command-line utilities.
- org.codehaus.plexus.util.cli.shell - package org.codehaus.plexus.util.cli.shell
-
Shell utilities.
- org.codehaus.plexus.util.dag - package org.codehaus.plexus.util.dag
-
Directed Acyclic Graph utilities.
- org.codehaus.plexus.util.introspection - package org.codehaus.plexus.util.introspection
-
Introspection utilities.
- org.codehaus.plexus.util.io - package org.codehaus.plexus.util.io
-
Facades to create
InputStream
s representing various kinds of data sources, identically. - org.codehaus.plexus.util.reflection - package org.codehaus.plexus.util.reflection
-
Reflection utilities.
- 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.cli.Commandline
-
Deprecated.Use
Os
class instead. - 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
CharSequence
as aboolean
. - parseDouble(CharSequence) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Parses this
CharSequence
as adouble
. - parseFloat(CharSequence) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Parses this
CharSequence
as afloat
. - parseInt(CharSequence) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Parses the specified
CharSequence
as a signed decimalint
. - parseInt(CharSequence, int) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Parses the specified
CharSequence
as a signedint
in the specified radix. - parseLong(CharSequence) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Parses the specified
CharSequence
as a signed decimallong
. - parseLong(CharSequence, int) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Parses the specified
CharSequence
as a signedlong
in the specified radix. - parseShort(CharSequence) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Parses the specified
CharSequence
as a signed decimalshort
. - parseShort(CharSequence, int) - Static method in class org.codehaus.plexus.util.TypeFormat
-
Parses the specified
CharSequence
as a signedshort
in 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
- quote(String) - Static method in class org.codehaus.plexus.util.cli.CommandLineUtils
- quote(String, boolean) - Static method in class org.codehaus.plexus.util.cli.CommandLineUtils
- quote(String, boolean, boolean, boolean) - Static method in class org.codehaus.plexus.util.cli.CommandLineUtils
- 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
- quoteArgument(String) - Static method in class org.codehaus.plexus.util.cli.Commandline
-
Deprecated.Use
CommandLineUtils.quote(String)
instead. - quoteOneItem(String, boolean) - Method in class org.codehaus.plexus.util.cli.shell.BourneShell
-
Unify quotes in a path for the Bourne Shell.
- quoteOneItem(String, boolean) - Method in class org.codehaus.plexus.util.cli.shell.Shell
R
- RawInputStreamFacade - Class in org.codehaus.plexus.util.io
-
Implementation of
InputStreamFacade
for raw input streams. - RawInputStreamFacade(InputStream) - Constructor for class org.codehaus.plexus.util.io.RawInputStreamFacade
- 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
-
Deprecated.This class has been deprecated. When reading XML, users are encouraged to pass the
InputStream
directory to theMXParser.setInput(InputStream, String)
, giving anull
encoding to let the parser figure it out. For non xml usages, use the JDKFiles
utility methods. - ReaderFactory() - Constructor for class org.codehaus.plexus.util.ReaderFactory
-
Deprecated.
- 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
- ReflectionValueExtractor - Class in org.codehaus.plexus.util.introspection
-
Using simple dotted expressions to extract the values from an Object instance, For example we might want to extract a value like:
project.build.sourceDirectory
- Reflector - Class in org.codehaus.plexus.util.reflection
-
Utility class used to instantiate an object using reflection.
- Reflector() - Constructor for class org.codehaus.plexus.util.reflection.Reflector
-
Ensure no instances of Reflector are created...this is a utility.
- ReflectorException - Exception Class in org.codehaus.plexus.util.reflection
-
Exception indicating that an error has occurred while instantiating a class with the Reflector class.
- ReflectorException() - Constructor for exception class org.codehaus.plexus.util.reflection.ReflectorException
- ReflectorException(String) - Constructor for exception class org.codehaus.plexus.util.reflection.ReflectorException
-
Create a new ReflectorException with the specified message.
- ReflectorException(String, Throwable) - Constructor for exception class org.codehaus.plexus.util.reflection.ReflectorException
-
Create a new ReflectorException with the specified message and root cause.
- ReflectorException(Throwable) - Constructor for exception class org.codehaus.plexus.util.reflection.ReflectorException
-
Create a new ReflectorException with the specified root cause.
- 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
FastMap
if 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.
- removeEdge(String, String) - Method in class org.codehaus.plexus.util.dag.DAG
- removeEdge(Vertex, Vertex) - Method in class org.codehaus.plexus.util.dag.DAG
- removeEdgeFrom(Vertex) - Method in class org.codehaus.plexus.util.dag.Vertex
- removeEdgeTo(Vertex) - Method in class org.codehaus.plexus.util.dag.Vertex
- 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
n
times 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
max
values 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
max
values 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
filename
to 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
n
characters 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.
- run() - Method in class org.codehaus.plexus.util.cli.StreamFeeder
- run() - Method in class org.codehaus.plexus.util.cli.StreamPumper
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
- setArgumentEscapePattern(String) - Method in class org.codehaus.plexus.util.cli.shell.Shell
- setArgumentQuoteDelimiter(char) - Method in class org.codehaus.plexus.util.cli.shell.Shell
- 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.
- setDone() - Method in class org.codehaus.plexus.util.cli.AbstractStreamHandler
- setDoubleQuotedArgumentEscaped(boolean) - Method in class org.codehaus.plexus.util.cli.shell.Shell
- setDoubleQuotedExecutableEscaped(boolean) - Method in class org.codehaus.plexus.util.cli.shell.Shell
- 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
- setExecutable(String) - Method in class org.codehaus.plexus.util.cli.Commandline
-
Sets the executable to run.
- setExecutable(String) - Method in class org.codehaus.plexus.util.cli.shell.Shell
- setExecutableQuoteDelimiter(char) - Method in class org.codehaus.plexus.util.cli.shell.Shell
- setFamily(String) - Method in class org.codehaus.plexus.util.Os
-
Sets the desired OS family type
- setFile(File) - Method in interface org.codehaus.plexus.util.cli.Arg
- setFile(File) - Method in class org.codehaus.plexus.util.cli.Commandline.Argument
- setFilenameComparator(Comparator<String>) - Method in class org.codehaus.plexus.util.AbstractScanner
- setFilenameComparator(Comparator<String>) - Method in interface org.codehaus.plexus.util.Scanner
-
Use a filename comparator in each directory when scanning.
- 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
- setLine(String) - Method in interface org.codehaus.plexus.util.cli.Arg
- setLine(String) - Method in class org.codehaus.plexus.util.cli.Commandline.Argument
- 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
- setPid(long) - Method in class org.codehaus.plexus.util.cli.Commandline
- setQuotedArgumentsEnabled(boolean) - Method in class org.codehaus.plexus.util.cli.shell.Shell
- setQuotedExecutableEnabled(boolean) - Method in class org.codehaus.plexus.util.cli.shell.Shell
- setShell(Shell) - Method in class org.codehaus.plexus.util.cli.Commandline
-
Allows to set the shell to be used in this command line.
- setShellArgs(String[]) - Method in class org.codehaus.plexus.util.cli.shell.Shell
-
Set the shell arguments when calling a command line (not the executable arguments) (eg.
- setShellCommand(String) - Method in class org.codehaus.plexus.util.cli.shell.Shell
-
Set the command to execute the shell (eg.
- setSingleQuotedArgumentEscaped(boolean) - Method in class org.codehaus.plexus.util.cli.shell.Shell
- setSingleQuotedExecutableEscaped(boolean) - Method in class org.codehaus.plexus.util.cli.shell.Shell
- setSrc(File) - Method in class org.codehaus.plexus.util.Expand
-
Set the path to zip-file.
- setUnconditionalQuoting(boolean) - Method in class org.codehaus.plexus.util.cli.shell.Shell
-
Toggle unconditional quoting
- setupDefaultFilters() - Method in class org.codehaus.plexus.util.AbstractScanner
- setupMatchPatterns() - Method in class org.codehaus.plexus.util.AbstractScanner
- setValue(String) - Method in interface org.codehaus.plexus.util.cli.Arg
- setValue(String) - Method in class org.codehaus.plexus.util.cli.Commandline.Argument
- 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
- setWorkingDirectory(File) - Method in class org.codehaus.plexus.util.cli.Commandline
-
Sets execution directory.
- setWorkingDirectory(File) - Method in class org.codehaus.plexus.util.cli.shell.Shell
- setWorkingDirectory(String) - Method in class org.codehaus.plexus.util.cli.Commandline
-
Sets execution directory.
- setWorkingDirectory(String) - Method in class org.codehaus.plexus.util.cli.shell.Shell
- Shell - Class in org.codehaus.plexus.util.cli.shell
-
Class that abstracts the Shell functionality, with subclasses for shells that behave particularly, like
command.com
cmd.exe
- Shell() - Constructor for class org.codehaus.plexus.util.cli.shell.Shell
- 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.cli.Commandline
- 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
FastMap
has 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.
- sort(DAG) - Static method in class org.codehaus.plexus.util.dag.TopologicalSorter
- sort(Vertex) - Static method in class org.codehaus.plexus.util.dag.TopologicalSorter
- 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
- StreamConsumer - Interface in org.codehaus.plexus.util.cli
-
Works in concert with the StreamPumper class to allow implementations to gain access to the lines being "Pumped".
- StreamFeeder - Class in org.codehaus.plexus.util.cli
-
Read from an InputStream and write the output to an OutputStream.
- StreamFeeder(InputStream, OutputStream) - Constructor for class org.codehaus.plexus.util.cli.StreamFeeder
-
Create a new StreamFeeder
- StreamPumper - Class in org.codehaus.plexus.util.cli
-
Class to pump the error stream during Process's runtime.
- StreamPumper(InputStream) - Constructor for class org.codehaus.plexus.util.cli.StreamPumper
- StreamPumper(InputStream, PrintWriter) - Constructor for class org.codehaus.plexus.util.cli.StreamPumper
- StreamPumper(InputStream, PrintWriter, StreamConsumer) - Constructor for class org.codehaus.plexus.util.cli.StreamPumper
- StreamPumper(InputStream, StreamConsumer) - Constructor for class org.codehaus.plexus.util.cli.StreamPumper
- 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.
- StringStreamConsumer() - Constructor for class org.codehaus.plexus.util.cli.CommandLineUtils.StringStreamConsumer
- StringUtils - Class in org.codehaus.plexus.util
-
Common
String
manipulation routines. - StringUtils() - Constructor for class org.codehaus.plexus.util.StringUtils
-
StringUtils
instances 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
Collection
containinga - 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
- toByteArray(InputStream, int) - Static method in class org.codehaus.plexus.util.IOUtil
- toByteArray(Reader) - Static method in class org.codehaus.plexus.util.IOUtil
- toByteArray(Reader, int) - Static method in class org.codehaus.plexus.util.IOUtil
- toByteArray(String) - Static method in class org.codehaus.plexus.util.IOUtil
- toByteArray(String, int) - Static method in class org.codehaus.plexus.util.IOUtil
- toFile(URL) - Static method in class org.codehaus.plexus.util.FileUtils
-
Convert from a
URL
to aFile
. - TopologicalSorter - Class in org.codehaus.plexus.util.dag
- TopologicalSorter() - Constructor for class org.codehaus.plexus.util.dag.TopologicalSorter
- toString() - Method in class org.codehaus.plexus.util.cli.Commandline
- toString() - Method in class org.codehaus.plexus.util.dag.Vertex
- toString() - Method in class org.codehaus.plexus.util.FastMap
-
Returns a
String
representation of thisFastMap
. - toString() - Method in class org.codehaus.plexus.util.StringOutputStream
-
Deprecated.
- toString(byte[]) - Static method in class org.codehaus.plexus.util.IOUtil
- toString(byte[], int) - Static method in class org.codehaus.plexus.util.IOUtil
- toString(byte[], String) - Static method in class org.codehaus.plexus.util.IOUtil
- toString(byte[], String, int) - Static method in class org.codehaus.plexus.util.IOUtil
- toString(InputStream) - Static method in class org.codehaus.plexus.util.IOUtil
- toString(InputStream, int) - Static method in class org.codehaus.plexus.util.IOUtil
- toString(InputStream, String) - Static method in class org.codehaus.plexus.util.IOUtil
- toString(InputStream, String, int) - Static method in class org.codehaus.plexus.util.IOUtil
- toString(Reader) - Static method in class org.codehaus.plexus.util.IOUtil
- toString(Reader, int) - Static method in class org.codehaus.plexus.util.IOUtil
- toString(String[]) - Static method in class org.codehaus.plexus.util.cli.Commandline
-
Deprecated.Use
CommandLineUtils.toString(String[])
instead. - toString(String[]) - Static method in class org.codehaus.plexus.util.cli.CommandLineUtils
- toURLs(File[]) - Static method in class org.codehaus.plexus.util.FileUtils
-
Convert the array of Files into a list of URLs.
- translateCommandline(String) - Static method in class org.codehaus.plexus.util.cli.Commandline
-
Deprecated.Use
CommandLineUtils.translateCommandline(String)
instead. - translateCommandline(String) - Static method in class org.codehaus.plexus.util.cli.CommandLineUtils
- 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
null
by returningnull
. - TypeFormat - Class in org.codehaus.plexus.util
-
This class provides utility methods to parse
CharSequence
into 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,
null
String returnsnull
. - URLInputStreamFacade - Class in org.codehaus.plexus.util.io
-
Implementation of
InputStreamFacade
for URL's. - URLInputStreamFacade(URL) - Constructor for class org.codehaus.plexus.util.io.URLInputStreamFacade
- US_ASCII - Static variable in class org.codehaus.plexus.util.ReaderFactory
-
Deprecated.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
-
Deprecated.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
-
Deprecated.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
-
Deprecated.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
-
Deprecated.Sixteen-bit Unicode Transformation Format, big-endian byte order.
- UTF_16BE - Static variable in class org.codehaus.plexus.util.WriterFactory
-
Deprecated.Sixteen-bit Unicode Transformation Format, big-endian byte order.
- UTF_16LE - Static variable in class org.codehaus.plexus.util.ReaderFactory
-
Deprecated.Sixteen-bit Unicode Transformation Format, little-endian byte order.
- UTF_16LE - Static variable in class org.codehaus.plexus.util.WriterFactory
-
Deprecated.Sixteen-bit Unicode Transformation Format, little-endian byte order.
- UTF_8 - Static variable in class org.codehaus.plexus.util.ReaderFactory
-
Deprecated.Eight-bit Unicode Transformation Format.
- UTF_8 - Static variable in class org.codehaus.plexus.util.WriterFactory
-
Deprecated.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
. - Vertex - Class in org.codehaus.plexus.util.dag
- Vertex(String) - Constructor for class org.codehaus.plexus.util.dag.Vertex
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.
- waitUntilDone() - Method in class org.codehaus.plexus.util.cli.AbstractStreamHandler
- WINDOWS - Static variable in class org.codehaus.plexus.util.cli.Commandline
-
Deprecated.Use
Os
class instead. - write(byte[]) - Method in class org.codehaus.plexus.util.io.CachingOutputStream
- write(byte[]) - Method in class org.codehaus.plexus.util.StringOutputStream
-
Deprecated.
- write(byte[], int, int) - Method in class org.codehaus.plexus.util.io.CachingOutputStream
- write(byte[], int, int) - Method in class org.codehaus.plexus.util.StringOutputStream
-
Deprecated.
- write(int) - Method in class org.codehaus.plexus.util.io.CachingOutputStream
- write(int) - Method in class org.codehaus.plexus.util.StringOutputStream
-
Deprecated.
- WriterFactory - Class in org.codehaus.plexus.util
-
Deprecated.This class has been deprecated. When writing XML, users can create the
XmlStreamWriter
instance directly. For other usages, usingFiles
helper methods is recommended. - WriterFactory() - Constructor for class org.codehaus.plexus.util.WriterFactory
-
Deprecated.
- WriterStreamConsumer - Class in org.codehaus.plexus.util.cli
- WriterStreamConsumer(Writer) - Constructor for class org.codehaus.plexus.util.cli.WriterStreamConsumer
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
IOUtil.copy(InputStream, OutputStream)
instead.