- call() - Method in interface org.apache.maven.shared.utils.cli.CommandLineCallable
- capitalise(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Capitalise a String.
- capitaliseAllWords(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Capitalise all the words in a String.
- capitalizeFirstLetter(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Convert the first character of the given String to uppercase.
- center(String, int) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Center a String in a larger String of size n
.
- center(String, int, String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Center a String in a larger String of size n
.
- CHILDREN_COMBINATION_APPEND - Static variable in class org.apache.maven.shared.utils.xml.Xpp3Dom
-
The attribute append.
- CHILDREN_COMBINATION_MODE_ATTRIBUTE - Static variable in class org.apache.maven.shared.utils.xml.Xpp3Dom
-
The attribute which identifies merge/append.
- chomp(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Remove the last newline, and everything after it from a String.
- chomp(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Remove the last value of a supplied String, and everything after
it from a String.
- chompLast(String) - Static method in class org.apache.maven.shared.utils.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.apache.maven.shared.utils.StringUtils
-
Remove a value if and only if the String ends with that value.
- chop(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Remove the last character from a String.
- chopNewline(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Remove \n
from end of a String if it's there.
- ClassMap - Class in org.apache.maven.shared.utils.introspection
-
A cache of introspection information for a specific class instance.
- ClassMap(Class<?>) - Constructor for class org.apache.maven.shared.utils.introspection.ClassMap
-
Standard constructor
- clean(String) - Static method in class org.apache.maven.shared.utils.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.apache.maven.shared.utils.io.FileUtils
-
Clean a directory without deleting it.
- clearArgs() - Method in class org.apache.maven.shared.utils.cli.Commandline
-
Clear out the arguments but leave the executable in place for another operation.
- clone() - Method in class org.apache.maven.shared.utils.cli.Commandline
- clone() - Method in class org.apache.maven.shared.utils.cli.shell.Shell
- close() - Method in class org.apache.maven.shared.utils.cli.StreamPumper
-
Deprecated.
As of 3.2.0, removed without replacement.
- close(Channel) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Closes a Channel
suppressing any IOException
.
- close(InputStream) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Closes an InputStream
suppressing any IOException
.
- close(OutputStream) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Closes an OutputStream
suppressing any IOException
.
- close(Reader) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Closes a Reader
suppressing any IOException
.
- close(Writer) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Closes a Writer
suppressing any IOException
.
- close() - Method in class org.apache.maven.shared.utils.xml.XmlStreamReader
- CmdShell - Class in org.apache.maven.shared.utils.cli.shell
-
Implementation to call the CMD Shell present on Windows NT, 2000 and XP
- CmdShell() - Constructor for class org.apache.maven.shared.utils.cli.shell.CmdShell
-
Create an instance of CmdShell.
- Commandline - Class in org.apache.maven.shared.utils.cli
-
Commandline objects help handling command lines specifying processes to
execute.
- Commandline(Shell) - Constructor for class org.apache.maven.shared.utils.cli.Commandline
-
Create a new command line object.
- Commandline(String) - Constructor for class org.apache.maven.shared.utils.cli.Commandline
-
Create a new command line object.
- Commandline() - Constructor for class org.apache.maven.shared.utils.cli.Commandline
-
Create a new command line object.
- Commandline.Argument - Class in org.apache.maven.shared.utils.cli
-
- Commandline.Argument() - Constructor for class org.apache.maven.shared.utils.cli.Commandline.Argument
-
- CommandLineCallable - Interface in org.apache.maven.shared.utils.cli
-
Callable wrapper that exposes the proper exception type to the client.
- CommandLineException - Exception in org.apache.maven.shared.utils.cli
-
- CommandLineException(String) - Constructor for exception org.apache.maven.shared.utils.cli.CommandLineException
-
- CommandLineException(String, Throwable) - Constructor for exception org.apache.maven.shared.utils.cli.CommandLineException
-
- CommandLineTimeOutException - Exception in org.apache.maven.shared.utils.cli
-
- CommandLineTimeOutException(String, Throwable) - Constructor for exception org.apache.maven.shared.utils.cli.CommandLineTimeOutException
-
- CommandLineUtils - Class in org.apache.maven.shared.utils.cli
-
- CommandLineUtils() - Constructor for class org.apache.maven.shared.utils.cli.CommandLineUtils
-
- CommandLineUtils.StringStreamConsumer - Class in org.apache.maven.shared.utils.cli
-
A StreamConsumer
providing consumed lines as a String
.
- CommandLineUtils.StringStreamConsumer() - Constructor for class org.apache.maven.shared.utils.cli.CommandLineUtils.StringStreamConsumer
-
- CommandShell - Class in org.apache.maven.shared.utils.cli.shell
-
Implementation to call the Command.com Shell present on Windows 95, 98 and Me
- CommandShell() - Constructor for class org.apache.maven.shared.utils.cli.shell.CommandShell
-
Create an instance.
- concatenate(Object...) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Concatenates elements of an array into a single String.
- consumeLine(String) - Method in class org.apache.maven.shared.utils.cli.CommandLineUtils.StringStreamConsumer
-
Called when the StreamPumper pumps a line from the Stream.
- consumeLine(String) - Method in class org.apache.maven.shared.utils.cli.DefaultConsumer
-
Called when the StreamPumper pumps a line from the Stream.
- consumeLine(String) - Method in interface org.apache.maven.shared.utils.cli.StreamConsumer
-
Called when the StreamPumper pumps a line from the Stream.
- consumeLine(String) - Method in class org.apache.maven.shared.utils.cli.WriterStreamConsumer
-
Called when the StreamPumper pumps a line from the Stream.
- contains(String, char) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Checks if String contains a search character, handling null
.
- contains(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Checks if String contains a search String, handling null
.
- contentEquals(File, File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Compare the contents of two files to determine if they are equal or not.
- contentEquals(InputStream, InputStream) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Compare the contents of two Streams to determine if they are equal or not.
- copy(InputStream, OutputStream) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Copy bytes from an InputStream
to an OutputStream
.
- copy(InputStream, OutputStream, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Copy bytes from an InputStream
to an OutputStream
.
- copy(Reader, Writer) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Copy chars from a Reader
to a Writer
.
- copy(Reader, Writer, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Copy chars from a Reader
to a Writer
.
- copy(InputStream, Writer) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Copy and convert bytes from an InputStream
to chars on a
Writer
.
- copy(InputStream, Writer, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Copy and convert bytes from an InputStream
to chars on a
Writer
.
- copy(InputStream, Writer, String) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Copy and convert bytes from an InputStream
to chars on a
Writer
, using the specified encoding.
- copy(InputStream, Writer, String, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Copy and convert bytes from an InputStream
to chars on a
Writer
, using the specified encoding.
- copy(Reader, OutputStream) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Serialize chars from a Reader
to bytes on an OutputStream
, and
flush the OutputStream
.
- copy(Reader, OutputStream, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Serialize chars from a Reader
to bytes on an OutputStream
, and
flush the OutputStream
.
- copy(String, OutputStream) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Serialize chars from a String
to bytes on an OutputStream
, and
flush the OutputStream
.
- copy(String, OutputStream, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Serialize chars from a String
to bytes on an OutputStream
, and
flush the OutputStream
.
- copy(String, Writer) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Copy chars from a String
to a Writer
.
- copy(byte[], Writer) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Copy and convert bytes from a byte[]
to chars on a
Writer
.
- copy(byte[], Writer, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Copy and convert bytes from a byte[]
to chars on a
Writer
.
- copy(byte[], Writer, String) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Copy and convert bytes from a byte[]
to chars on a
Writer
, using the specified encoding.
- copy(byte[], Writer, String, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Copy and convert bytes from a byte[]
to chars on a
Writer
, using the specified encoding.
- copy(byte[], OutputStream) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Copy bytes from a byte[]
to an OutputStream
.
- copyDirectory(File, File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Copy a directory to an other one.
- copyDirectory(File, File, String, String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Copy a directory to an other one.
- copyDirectoryStructure(File, File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Copies a entire directory structure.
- copyFile(File, File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Copy file from source to destination.
- copyFile(File, File, String, FileUtils.FilterWrapper...) - Static method in class org.apache.maven.shared.utils.io.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.apache.maven.shared.utils.io.FileUtils
-
If wrappers is null or empty, the file will be copy only if to.lastModified() < from.lastModified() or if
overwrite is true
- copyFileToDirectory(File, File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Copy file from source to destination.
- copyURLToFile(URL, File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Copies bytes from the URL source
to a file destination
.
- countMatches(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
How many times is the substring in the larger String.
- createArg() - Method in class org.apache.maven.shared.utils.cli.Commandline
-
Creates an argument object.
- createArg(boolean) - Method in class org.apache.maven.shared.utils.cli.Commandline
-
Creates an argument object and adds it to our list of args.
- createCommandLine(Request, String) - Method in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaTool
-
Create the command line object given the request.
- createResult() - Method in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaTool
-
- createSymbolicLink(File, File) - Static method in class org.apache.maven.shared.utils.io.Java7Support
-
- createSystemErrorStreamConsumer(Request) - Method in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaTool
-
- createSystemInputStream() - Method in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaTool
-
- createSystemOutStreamConsumer(Request) - Method in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaTool
-
- createTempFile(String, String, File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Create a temporary file in a given directory.
- debug(String) - Method in interface org.apache.maven.shared.utils.io.DirectoryWalkListener
-
- debug(String) - Method in class org.apache.maven.shared.utils.io.WalkCollector
- debug(String) - Method in interface org.apache.maven.shared.utils.logging.LoggerLevelRenderer
-
Render DEBUG level.
- DEFAULT_COLUMN_LINE - Static variable in class org.apache.maven.shared.utils.xml.XmlWriterUtil
-
The default column before line wrapping i.e.
- DEFAULT_INDENTATION_SIZE - Static variable in class org.apache.maven.shared.utils.xml.XmlWriterUtil
-
The default line indenter size i.e.
- DefaultConsumer - Class in org.apache.maven.shared.utils.cli
-
- DefaultConsumer() - Constructor for class org.apache.maven.shared.utils.cli.DefaultConsumer
-
- DEFAULTEXCLUDES - Static variable in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Patterns which should be excluded by default.
- defaultString(Object) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Returns either the passed in Object
as a String,
or, if the Object
is null
, an empty
String.
- defaultString(Object, String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Returns either the passed in Object
as a String,
or, if the Object
is null
, a passed
in default String.
- delete(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
deletes a file.
- delete(File) - Static method in class org.apache.maven.shared.utils.io.Java7Support
-
Performs a nio delete
- deleteDirectory(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Recursively delete a directory.
- deleteDirectory(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Recursively delete a directory.
- deleteLegacyStyle(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
- deleteWhitespace(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Deletes all whitespaces from a String.
- difference(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Compare two strings, and return the portion where they differ.
- differenceAt(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Compare two strings, and return the index at which the strings begin to differ.
- diffFiles(String[], String[]) - Static method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
- diffIncludedFiles(String...) - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Determine the file differences between the currently included files and
a previously captured list of files.
- DirectoryScanner - Class in org.apache.maven.shared.utils.io
-
Class for scanning a directory for files/directories which match certain criteria.
- DirectoryScanner() - Constructor for class org.apache.maven.shared.utils.io.DirectoryScanner
-
Sole constructor.
- DirectoryScanResult - Class in org.apache.maven.shared.utils.io
-
Scan for files in a directory at a given time and reports removed and added files
between captures.
- DirectoryScanResult(String[], String[]) - Constructor for class org.apache.maven.shared.utils.io.DirectoryScanResult
-
- directoryWalkFinished() - Method in interface org.apache.maven.shared.utils.io.DirectoryWalkListener
-
The directory walking has finished.
- directoryWalkFinished() - Method in class org.apache.maven.shared.utils.io.WalkCollector
-
The directory walking has finished.
- DirectoryWalkListener - Interface in org.apache.maven.shared.utils.io
-
DirectoryWalkListener
- directoryWalkStarting(File) - Method in interface org.apache.maven.shared.utils.io.DirectoryWalkListener
-
The directory walking has begun.
- directoryWalkStarting(File) - Method in class org.apache.maven.shared.utils.io.WalkCollector
-
The directory walking has begun.
- directoryWalkStep(int, File) - Method in interface org.apache.maven.shared.utils.io.DirectoryWalkListener
-
The included entry that was encountered.
- directoryWalkStep(int, File) - Method in class org.apache.maven.shared.utils.io.WalkCollector
-
The included entry that was encountered.
- dirname(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Returns the directory path portion of a file specification string.
- failure(Object) - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
-
Append message content in failure style.
- FAMILY_DOS - Static variable in class org.apache.maven.shared.utils.Os
-
OS family that can be tested for.
- FAMILY_MAC - Static variable in class org.apache.maven.shared.utils.Os
-
OS family that can be tested for.
- FAMILY_NETWARE - Static variable in class org.apache.maven.shared.utils.Os
-
OS family that can be tested for.
- FAMILY_NT - Static variable in class org.apache.maven.shared.utils.Os
-
OS family that can be tested for.
- FAMILY_OPENVMS - Static variable in class org.apache.maven.shared.utils.Os
-
OS family that can be tested for.
- FAMILY_OS2 - Static variable in class org.apache.maven.shared.utils.Os
-
OS family that can be tested for.
- FAMILY_OS400 - Static variable in class org.apache.maven.shared.utils.Os
-
OS family that can be tested for.
- FAMILY_TANDEM - Static variable in class org.apache.maven.shared.utils.Os
-
OS family that can be tested for.
- FAMILY_UNIX - Static variable in class org.apache.maven.shared.utils.Os
-
OS family that can be tested for.
- FAMILY_WIN9X - Static variable in class org.apache.maven.shared.utils.Os
-
OS family that can be tested for.
- FAMILY_WINDOWS - Static variable in class org.apache.maven.shared.utils.Os
-
OS family that can be tested for.
- FAMILY_ZOS - Static variable in class org.apache.maven.shared.utils.Os
-
OS family that can be tested for.
- FILE_ENCODING - Static variable in class org.apache.maven.shared.utils.ReaderFactory
-
The file.encoding
System Property.
- FILE_ENCODING - Static variable in class org.apache.maven.shared.utils.WriterFactory
-
The file.encoding
System Property.
- fileAppend(String, String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Appends data to a file.
- fileAppend(String, String, String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Appends data to a file.
- fileDelete(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deletes a file.
- fileExists(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Check if a file exits.
- filename(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Returns the filename portion of a file specification string.
- fileRead(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Note: the file content is read with platform encoding.
- fileRead(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Note: the file content is read with platform encoding
- fileRead(File, String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
- fileReadArray(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
- FileUtils - Class in org.apache.maven.shared.utils.io
-
This class provides basic facilities for manipulating files and file paths.
- FileUtils() - Constructor for class org.apache.maven.shared.utils.io.FileUtils
-
protected constructor.
- FileUtils.FilterWrapper - Class in org.apache.maven.shared.utils.io
-
Wrapper class for Filter.
- FileUtils.FilterWrapper() - Constructor for class org.apache.maven.shared.utils.io.FileUtils.FilterWrapper
-
- fileWrite(String, String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Writes data to a file.
- fileWrite(String, String, String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Writes data to a file.
- fileWrite(File, String, String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Writes data to a file.
- fileWriteArray(File, String...) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Writes String array data to a file in the systems default encoding.
- fileWriteArray(File, String, String...) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Writes String array data to a file.
- findJavaToolExecutable() - Method in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaTool
-
- findMethod(String, Object...) - Method in class org.apache.maven.shared.utils.introspection.ClassMap
-
Find a Method using the methodKey
provided.
- flush() - Method in class org.apache.maven.shared.utils.cli.StreamPumper
-
Deprecated.
As of 3.2.0, removed without replacement.
- forceDelete(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Delete a file.
- forceDelete(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Delete a file.
- forceMkdir(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Make a directory.
- format(String, Object...) - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
-
Append formatted content to the buffer.
- from(String...) - Static method in class org.apache.maven.shared.utils.io.MatchPatterns
-
- fromString(String) - Static method in class org.apache.maven.shared.utils.io.MatchPattern
-
- getArguments() - Method in class org.apache.maven.shared.utils.cli.Commandline
-
Returns all arguments defined by addLine
,
addValue
or the argument object.
- getArguments(boolean) - Method in class org.apache.maven.shared.utils.cli.Commandline
-
Returns all arguments defined by addLine
,
addValue
or the argument object.
- getAttribute(String) - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
-
- getAttributeNames() - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
-
- getBasedir() - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Returns the base directory to be scanned.
- getChild(int) - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
-
- getChild(String) - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
-
- getChildCount() - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
-
- getChildren() - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
-
- getChildren(String) - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
-
- getChomp(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Remove everything and return the last value of a supplied String, and
everything after it from a String.
- getCommandline() - Method in class org.apache.maven.shared.utils.cli.Commandline
-
Returns the executable and all defined arguments.
- getCommandline() - Method in class org.apache.maven.shared.utils.cli.javatool.JavaToolResult
-
Gets the command line used.
- getCommandLine(String, String...) - Method in class org.apache.maven.shared.utils.cli.shell.CmdShell
-
Specific implementation that quotes all the command line.
- getDefaultEncoding() - Static method in class org.apache.maven.shared.utils.xml.XmlStreamReader
-
- getDefaultExcludes() - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
- getDefaultExcludesAsList() - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
- getDefaultExcludesAsString() - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
- getDirectoryNames(File, String, String, boolean) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Return a list of directories as String depending options.
- getDirectoryNames(File, String, String, boolean, boolean) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Return a list of directories as String depending options.
- getEncoding() - Method in class org.apache.maven.shared.utils.xml.XmlStreamReader
-
- getEnvironmentVariables() - Method in class org.apache.maven.shared.utils.cli.Commandline
-
Return the list of environment variables
- getException() - Method in class org.apache.maven.shared.utils.cli.StreamPumper
-
- getExcludedDirectories() - Method in class org.apache.maven.shared.utils.io.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.apache.maven.shared.utils.io.DirectoryScanner
-
Returns the names of the files which matched at least one of the include patterns and at least one of the exclude
patterns.
- getExecutable() - Method in class org.apache.maven.shared.utils.cli.Commandline
-
- getExecutable() - Method in class org.apache.maven.shared.utils.cli.shell.BourneShell
- getExecutable() - Method in class org.apache.maven.shared.utils.cli.shell.Shell
-
- getExecutionException() - Method in class org.apache.maven.shared.utils.cli.javatool.JavaToolResult
-
Gets the exception that possibly occurred during the execution of the command line.
- getExecutionPreamble() - Method in class org.apache.maven.shared.utils.cli.shell.BourneShell
- getExitCode() - Method in class org.apache.maven.shared.utils.cli.javatool.JavaToolResult
-
Gets the exit code from the tool invocation.
- getExtension(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Get extension from filename.
- getFileAndDirectoryNames(File, String, String, boolean, boolean, boolean, boolean) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Return a list of files as String depending options.
- getFileNames(File, String, String, boolean) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Return a list of files as String depending options.
- getFiles(File, String, String) - Static method in class org.apache.maven.shared.utils.io.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.apache.maven.shared.utils.io.FileUtils
-
Return the files contained in the directory, using inclusion and exclusion Ant patterns
- getFilesAdded() - Method in class org.apache.maven.shared.utils.io.DirectoryScanResult
-
- getFilesFromExtension(String, String...) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Given a directory and an array of extensions return an array of compliant files.
- getFilesRemoved() - Method in class org.apache.maven.shared.utils.io.DirectoryScanResult
-
- getIncludedDirectories() - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
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.apache.maven.shared.utils.io.DirectoryScanner
-
Returns the names of the files which matched at least one of the include patterns and none of the exclude
patterns.
- getJavaToolName() - Method in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaTool
-
Return the name of the java tool.
- getJavaToolName() - Method in interface org.apache.maven.shared.utils.cli.javatool.JavaTool
-
Return the name of the java tool.
- getName() - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
-
- getNestedString(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Get the String that is nested in between two instances of the
same String.
- getNestedString(String, String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Get the String that is nested in between two Strings.
- getNotIncludedDirectories() - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Returns the names of the directories which matched none of the include patterns.
- getNotIncludedFiles() - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Returns the names of the files which matched none of the include patterns.
- getOutput() - Method in class org.apache.maven.shared.utils.cli.CommandLineUtils.StringStreamConsumer
-
- getParent() - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
-
- getPrechomp(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Remove and return everything before the first value of a
supplied String from another String.
- getQuotingTriggerChars() - Method in class org.apache.maven.shared.utils.cli.shell.BourneShell
- getReader(Reader) - Method in class org.apache.maven.shared.utils.io.FileUtils.FilterWrapper
-
- getRelativeFilePath(String, String) - Static method in class org.apache.maven.shared.utils.PathTool
-
This method can calculate the relative path between two pathes on a file system.
- getRelativePath(String, String) - Static method in class org.apache.maven.shared.utils.PathTool
-
Determines the relative path of a filename from a base directory.
- getShell() - Method in class org.apache.maven.shared.utils.cli.Commandline
-
Get the shell to be used in this command line.
- getShellArgs() - Method in class org.apache.maven.shared.utils.cli.shell.BourneShell
-
Get the shell arguments
- getShellArgsList() - Method in class org.apache.maven.shared.utils.cli.shell.BourneShell
- getShellCommandLine(String...) - Method in class org.apache.maven.shared.utils.cli.shell.Shell
-
Get the full command line to execute, including shell command, shell arguments,
executable and executable arguments
- getSystemEnvVars() - Static method in class org.apache.maven.shared.utils.cli.CommandLineUtils
-
Gets the shell environment variables for this process.
- getSystemEnvVars(boolean) - Static method in class org.apache.maven.shared.utils.cli.CommandLineUtils
-
Return the shell environment variables.
- getSystemErrorStreamConsumer() - Method in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaToolRequest
-
Gets the value of the systemErrorStreamConsumer
field.
- getSystemErrorStreamConsumer() - Method in interface org.apache.maven.shared.utils.cli.javatool.JavaToolRequest
-
Gets the value of the systemErrorStreamConsumer
field.
- getSystemOutStreamConsumer() - Method in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaToolRequest
-
Gets the value of the systemOutStreamConsumer
field.
- getSystemOutStreamConsumer() - Method in interface org.apache.maven.shared.utils.cli.javatool.JavaToolRequest
-
Gets the value of the systemOutStreamConsumer
field.
- getTokenizedPathString() - Method in class org.apache.maven.shared.utils.io.MatchPattern
-
- getValidFamilies() - Static method in class org.apache.maven.shared.utils.Os
-
The set of valid families.
- getValue() - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
-
- getWorkingDirectory() - Method in class org.apache.maven.shared.utils.cli.Commandline
-
- getWorkingDirectory() - Method in class org.apache.maven.shared.utils.cli.shell.Shell
-
- indexOfAny(String, String...) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Find the first index of any of a set of potential substrings.
- info(String) - Method in interface org.apache.maven.shared.utils.logging.LoggerLevelRenderer
-
Render INFO level.
- interpolate(String, Map<?, ?>) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Fill all 'variables' in the given text with the values from the map.
- IOUtil - Class in org.apache.maven.shared.utils.io
-
General IO Stream manipulation.
- isAlpha(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Checks if the String contains only unicode letters.
- isAlphanumeric(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Checks if the String contains only unicode letters or digits.
- isAlphanumericSpace(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Checks if the String contains only unicode letters, digits
or space (' '
).
- isAlphaSpace(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Checks if the String contains only unicode letters and
space (' '
).
- isArch(String) - Static method in class org.apache.maven.shared.utils.Os
-
Determines if the OS on which Ant is executing matches the
given OS architecture.
- isAtLeastJava7() - Static method in class org.apache.maven.shared.utils.io.Java7Support
-
- isBlank(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Checks if a String is whitespace, empty ("") or null.
- isColorEnabled() - Static method in class org.apache.maven.shared.utils.logging.MessageUtils
-
Is message color enabled: requires JAnsi available (through Maven) and the color has not been disabled.
- isDoubleQuotedArgumentEscaped() - Method in class org.apache.maven.shared.utils.cli.shell.Shell
-
- isEmpty(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Checks if a (trimmed) String is null
or empty.
- isEmpty(String) - Static method in class org.apache.maven.shared.utils.xml.Xpp3Dom
-
- isEmpty(String) - Static method in class org.apache.maven.shared.utils.xml.Xpp3DomUtils
-
- isFamily(String) - Static method in class org.apache.maven.shared.utils.Os
-
Determines if the OS on which Ant is executing matches the
given OS family.
- isJava7() - Static method in class org.apache.maven.shared.utils.io.Java7Support
-
- isMask() - Method in class org.apache.maven.shared.utils.cli.Commandline.Argument
-
- isName(String) - Static method in class org.apache.maven.shared.utils.Os
-
Determines if the OS on which Ant is executing matches the
given OS name.
- isNotBlank(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Checks if a String is not empty (""), not null and not whitespace only.
- isNotEmpty(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Checks if a String is non null
and is
not empty (length > 0
).
- isNotEmpty(String) - Static method in class org.apache.maven.shared.utils.xml.Xpp3Dom
-
- isNumeric(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Checks if the String contains only unicode digits.
- ISO_8859_1 - Static variable in class org.apache.maven.shared.utils.ReaderFactory
-
ISO Latin Alphabet #1, also known as ISO-LATIN-1.
- ISO_8859_1 - Static variable in class org.apache.maven.shared.utils.WriterFactory
-
ISO Latin Alphabet #1, also known as ISO-LATIN-1.
- isSingleQuotedArgumentEscaped() - Method in class org.apache.maven.shared.utils.cli.shell.Shell
-
- isSymbolicLink(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Checks whether a given file is a symbolic link.
- isSymbolicLinkForSure(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Checks whether a given file is a symbolic link.
- isSymLink(File) - Static method in class org.apache.maven.shared.utils.io.Java7Support
-
- isValidFamily(String) - Static method in class org.apache.maven.shared.utils.Os
-
Test if the given family String represents a valid Family
- isVersion(String) - Static method in class org.apache.maven.shared.utils.Os
-
Determines if the OS on which Ant is executing matches the
given OS version.
- isWhitespace(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Checks if the String contains only whitespace.
- iterator() - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
- read(char[], int, int) - Method in class org.apache.maven.shared.utils.xml.XmlStreamReader
- ReaderFactory - Class in org.apache.maven.shared.utils
-
Utility to create Readers from streams, with explicit encoding choice: platform default,
XML, or specified.
- ReaderFactory() - Constructor for class org.apache.maven.shared.utils.ReaderFactory
-
- readSymbolicLink(File) - Static method in class org.apache.maven.shared.utils.io.Java7Support
-
- ReflectionValueExtractor - Class in org.apache.maven.shared.utils.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
- REGEX_HANDLER_PREFIX - Static variable in class org.apache.maven.shared.utils.io.SelectorUtils
-
Regex start pattern.
- removeAndHump(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
- removeChild(int) - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
-
- removeDuplicateWhitespace(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Remove all duplicate whitespace characters and line terminators are replaced with a single
space.
- removeExtension(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Remove extension from filename.
- removeShutdownHook(Thread) - Static method in class org.apache.maven.shared.utils.cli.ShutdownHookUtils
-
- rename(File, File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Renames a file, even if that involves crossing file system boundaries.
- repeat(String, int) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Repeat a String n
times to form a
new string.
- replace(String, char, char) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Replace all occurances of a char within another char.
- replace(String, char, char, int) - Static method in class org.apache.maven.shared.utils.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.apache.maven.shared.utils.StringUtils
-
Replace all occurances of a String within another String.
- replace(String, String, String, int) - Static method in class org.apache.maven.shared.utils.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.apache.maven.shared.utils.StringUtils
-
Replace a char with another char inside a larger String, once.
- replaceOnce(String, String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Replace a String with another String inside a larger String, once.
- resolveFile(File, String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Resolve a file filename
to it's canonical form.
- reverse(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Reverse a String.
- reverseDelimitedString(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Reverses a String that is delimited by a specific character.
- right(String, int) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Gets the rightmost n
characters of a String.
- rightPad(String, int) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Right pad a String with spaces.
- rightPad(String, int, String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Right pad a String with a specified string.
- run() - Method in class org.apache.maven.shared.utils.cli.StreamPumper
-
run it.
- scan() - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Scans the base directory for files which match at least one include pattern and don't match any exclude patterns.
- ScanConductor - Interface in org.apache.maven.shared.utils.io
-
Visitor pattern for the DirectoryScanner.
- ScanConductor.ScanAction - Enum in org.apache.maven.shared.utils.io
-
- SelectorUtils - Class in org.apache.maven.shared.utils.io
-
This is a utility class used by selectors and DirectoryScanner.
- SELF_COMBINATION_MERGE - Static variable in class org.apache.maven.shared.utils.xml.Xpp3Dom
-
The attribute which identifies merge
- SELF_COMBINATION_MODE_ATTRIBUTE - Static variable in class org.apache.maven.shared.utils.xml.Xpp3Dom
-
The name of the attribute.
- SELF_COMBINATION_OVERRIDE - Static variable in class org.apache.maven.shared.utils.xml.Xpp3Dom
-
The attributes which identifies override
.
- setAttribute(String, String) - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
-
- setBasedir(String) - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Sets the base directory to be scanned.
- setBasedir(File) - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Sets the base directory to be scanned.
- setCaseSensitive(boolean) - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Sets whether or not the file system should be regarded as case sensitive.
- setColorEnabled(boolean) - Static method in class org.apache.maven.shared.utils.logging.MessageUtils
-
Enables message color (if JAnsi is available).
- setCommandline(Commandline) - Method in class org.apache.maven.shared.utils.cli.javatool.JavaToolResult
-
Set the commandline used to obtain this result.
- setDefaultEncoding(String) - Static method in class org.apache.maven.shared.utils.xml.XmlStreamReader
-
- setDocType(String) - Method in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
-
Sets the docType of the document.
- setDocType(String) - Method in interface org.apache.maven.shared.utils.xml.XMLWriter
-
Sets the docType of the document.
- setEncoding(String) - Method in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
-
Sets the encoding of the document.
- setEncoding(String) - Method in interface org.apache.maven.shared.utils.xml.XMLWriter
-
Sets the encoding of the document.
- setExcludes(String...) - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Sets the list of exclude patterns to use.
- setExecutable(String) - Method in class org.apache.maven.shared.utils.cli.Commandline
-
Sets the executable to run.
- setExecutable(String) - Method in class org.apache.maven.shared.utils.cli.shell.Shell
-
Sets the executable to run.
- setExecutionException(CommandLineException) - Method in class org.apache.maven.shared.utils.cli.javatool.JavaToolResult
-
Sets the exception that prevented to execute the command line.
- setExitCode(int) - Method in class org.apache.maven.shared.utils.cli.javatool.JavaToolResult
-
Sets the exit code reported by the tool invocation.
- setFile(File) - Method in interface org.apache.maven.shared.utils.cli.Arg
-
- setFile(File) - Method in class org.apache.maven.shared.utils.cli.Commandline.Argument
- setFollowSymlinks(boolean) - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Sets whether or not symbolic links should be followed.
- setIncludes(String...) - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Sets the list of include patterns to use.
- setLine(String) - Method in interface org.apache.maven.shared.utils.cli.Arg
-
- setLine(String) - Method in class org.apache.maven.shared.utils.cli.Commandline.Argument
- setLineIndenter(String) - Method in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
-
- setLineSeparator(String) - Method in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
-
- setMask(boolean) - Method in interface org.apache.maven.shared.utils.cli.Arg
-
To mask the argument value when a command line ask to print his arguments.
- setMask(boolean) - Method in class org.apache.maven.shared.utils.cli.Commandline.Argument
-
To mask the argument value when a command line ask to print his arguments.
- setParent(Xpp3Dom) - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
-
- setQuotedArgumentsEnabled(boolean) - Method in class org.apache.maven.shared.utils.cli.shell.Shell
-
- setScanConductor(ScanConductor) - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
- setSystemErrorStreamConsumer(StreamConsumer) - Method in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaToolRequest
-
Sets the new given value to the field systemErrorStreamConsumer
of the request.
- setSystemErrorStreamConsumer(StreamConsumer) - Method in interface org.apache.maven.shared.utils.cli.javatool.JavaToolRequest
-
Sets the new given value to the field systemErrorStreamConsumer
of the request.
- setSystemOutStreamConsumer(StreamConsumer) - Method in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaToolRequest
-
Sets the new given value to the field systemOutStreamConsumer
of the request.
- setSystemOutStreamConsumer(StreamConsumer) - Method in interface org.apache.maven.shared.utils.cli.javatool.JavaToolRequest
-
Sets the new given value to the field systemOutStreamConsumer
of the request.
- setToolchain(Object) - Method in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaTool
-
Set an optional tool chain to find out the java tool executable location.
- setToolchain(Object) - Method in interface org.apache.maven.shared.utils.cli.javatool.JavaTool
-
Set an optional tool chain to find out the java tool executable location.
- setValue(String) - Method in interface org.apache.maven.shared.utils.cli.Arg
-
- setValue(String) - Method in class org.apache.maven.shared.utils.cli.Commandline.Argument
- setValue(String) - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
-
- setWorkingDirectory(String) - Method in class org.apache.maven.shared.utils.cli.Commandline
-
Sets working directory.
- setWorkingDirectory(File) - Method in class org.apache.maven.shared.utils.cli.Commandline
-
Sets execution directory.
- setWorkingDirectory(String) - Method in class org.apache.maven.shared.utils.cli.shell.Shell
-
Sets execution directory.
- setWorkingDirectory(File) - Method in class org.apache.maven.shared.utils.cli.shell.Shell
-
Sets execution directory.
- Shell - Class in org.apache.maven.shared.utils.cli.shell
-
Class that abstracts the Shell functionality,
with subclases for shells that behave particularly, like
command.com
cmd.exe
- Shell() - Constructor for class org.apache.maven.shared.utils.cli.shell.Shell
-
- ShutdownHookUtils - Class in org.apache.maven.shared.utils.cli
-
A shutdown hook that does not throw any exceptions upon container startup/shutdown or security manager
restrictions.
- ShutdownHookUtils() - Constructor for class org.apache.maven.shared.utils.cli.ShutdownHookUtils
-
- sizeOfDirectory(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Recursively count size of a directory.
- sizeOfDirectory(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Recursively count size of a directory.
- split(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Splits the provided text into a array, using whitespace as the
separator.
- split(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
- split(String, String, int) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Splits the provided text into a array, based on a given separator.
- startElement(String) - Method in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
-
Start an XML Element tag.
- startElement(String) - Method in interface org.apache.maven.shared.utils.xml.XMLWriter
-
Start an XML Element tag.
- startsWith(String) - Method in class org.apache.maven.shared.utils.io.MatchPattern
-
- StreamConsumer - Interface in org.apache.maven.shared.utils.cli
-
Works in concert with the StreamPumper class to
allow implementations to gain access to the lines being
"Pumped".
- StreamPumper - Class in org.apache.maven.shared.utils.cli
-
Class to pump the error stream during Process's runtime.
- StreamPumper(InputStream, StreamConsumer) - Constructor for class org.apache.maven.shared.utils.cli.StreamPumper
-
- StreamPumper(InputStream, StreamConsumer, Charset) - Constructor for class org.apache.maven.shared.utils.cli.StreamPumper
-
- StringUtils - Class in org.apache.maven.shared.utils
-
Common String
manipulation routines.
- StringUtils() - Constructor for class org.apache.maven.shared.utils.StringUtils
-
StringUtils
instances should NOT be constructed in
standard programming.
- strip(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Remove whitespace from the front and back of a String.
- strip(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Remove a specified String from the front and back of a
String.
- stripAll(String...) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Strip whitespace from the front and back of every String
in the array.
- stripAll(String[], String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Strip the specified delimiter from the front and back of
every String in the array.
- stripAnsiCodes(String) - Static method in class org.apache.maven.shared.utils.logging.MessageUtils
-
Remove any ANSI code from a message (colors or other escape sequences).
- stripEnd(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Strip any of a supplied String from the end of a String.
- stripStart(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Strip any of a supplied String from the start of a String.
- strong(Object) - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
-
Append message content in strong style.
- substring(String, int) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Gets a substring from the specified string avoiding exceptions.
- substring(String, int, int) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Gets a substring from the specified String avoiding exceptions.
- success(Object) - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
-
Append message content in success style.
- swapCase(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Swaps the case of String.
- systemInstall() - Static method in class org.apache.maven.shared.utils.logging.MessageUtils
-
Install color support.
- systemUninstall() - Static method in class org.apache.maven.shared.utils.logging.MessageUtils
-
- toByteArray(InputStream) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Get the contents of an InputStream
as a byte[]
.
- toByteArray(InputStream, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Get the contents of an InputStream
as a byte[]
.
- toByteArray(Reader) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Get the contents of a Reader
as a byte[]
.
- toByteArray(Reader, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Get the contents of a Reader
as a byte[]
.
- toByteArray(String) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Get the contents of a String
as a byte[]
.
- toByteArray(String, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Get the contents of a String
as a byte[]
.
- toFile(URL) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Convert from a URL
to a File
.
- toString() - Method in class org.apache.maven.shared.utils.cli.Commandline
- toString(String...) - Static method in class org.apache.maven.shared.utils.cli.CommandLineUtils
-
- toString(InputStream) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Get the contents of an InputStream
as a String.
- toString(InputStream, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Get the contents of an InputStream
as a String.
- toString(InputStream, String) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Get the contents of an InputStream
as a String.
- toString(InputStream, String, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Get the contents of an InputStream
as a String.
- toString(Reader) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Get the contents of a Reader
as a String.
- toString(Reader, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Get the contents of a Reader
as a String.
- toString(byte[]) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Get the contents of a byte[]
as a String.
- toString(byte[], int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Get the contents of a byte[]
as a String.
- toString(byte[], String) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Get the contents of a byte[]
as a String.
- toString(byte[], String, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Get the contents of a byte[]
as a String.
- toString() - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
- toUnescapedString() - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
-
- toURLs(File...) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Convert the array of Files into a list of URLs.
- translateCommandline(String) - Static method in class org.apache.maven.shared.utils.cli.CommandLineUtils
-
- trim(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Removes control characters, including whitespace, from both
ends of this String, handling null
by returning
null
.
- uncapitalise(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Uncapitalise a String.
- uncapitaliseAllWords(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Uncapitalise all the words in a string.
- unifyLineSeparators(String) - Static method in class org.apache.maven.shared.utils.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.apache.maven.shared.utils.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.apache.maven.shared.utils.StringUtils
-
Convert a String to upper case, null
String
returns null
.
- US_ASCII - Static variable in class org.apache.maven.shared.utils.ReaderFactory
-
Seven-bit ASCII, also known as ISO646-US, also known as the Basic Latin block of the Unicode character set.
- US_ASCII - Static variable in class org.apache.maven.shared.utils.WriterFactory
-
Seven-bit ASCII, also known as ISO646-US, also known as the Basic Latin block of the Unicode character set.
- UTF_16 - Static variable in class org.apache.maven.shared.utils.ReaderFactory
-
Sixteen-bit Unicode Transformation Format, byte order specified by a mandatory initial byte-order mark (either
order accepted on input, big-endian used on output).
- UTF_16 - Static variable in class org.apache.maven.shared.utils.WriterFactory
-
Sixteen-bit Unicode Transformation Format, byte order specified by a mandatory initial byte-order mark (either
order accepted on input, big-endian used on output).
- UTF_16BE - Static variable in class org.apache.maven.shared.utils.ReaderFactory
-
Sixteen-bit Unicode Transformation Format, big-endian byte order.
- UTF_16BE - Static variable in class org.apache.maven.shared.utils.WriterFactory
-
Sixteen-bit Unicode Transformation Format, big-endian byte order.
- UTF_16LE - Static variable in class org.apache.maven.shared.utils.ReaderFactory
-
Sixteen-bit Unicode Transformation Format, little-endian byte order.
- UTF_16LE - Static variable in class org.apache.maven.shared.utils.WriterFactory
-
Sixteen-bit Unicode Transformation Format, little-endian byte order.
- UTF_8 - Static variable in class org.apache.maven.shared.utils.ReaderFactory
-
Eight-bit Unicode Transformation Format.
- UTF_8 - Static variable in class org.apache.maven.shared.utils.WriterFactory
-
Eight-bit Unicode Transformation Format.
- WalkCollector - Class in org.apache.maven.shared.utils.io
-
- WalkCollector() - Constructor for class org.apache.maven.shared.utils.io.WalkCollector
-
Create an instance.
- warning(String) - Method in interface org.apache.maven.shared.utils.logging.LoggerLevelRenderer
-
Render WARNING level.
- warning(Object) - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
-
Append message content in warning style.
- write(Writer, Xpp3Dom) - Static method in class org.apache.maven.shared.utils.xml.Xpp3DomWriter
-
- write(PrintWriter, Xpp3Dom) - Static method in class org.apache.maven.shared.utils.xml.Xpp3DomWriter
-
- write(XMLWriter, Xpp3Dom) - Static method in class org.apache.maven.shared.utils.xml.Xpp3DomWriter
-
- write(XMLWriter, Xpp3Dom, boolean) - Static method in class org.apache.maven.shared.utils.xml.Xpp3DomWriter
-
- writeComment(XMLWriter, String) - Static method in class org.apache.maven.shared.utils.xml.XmlWriterUtil
-
Convenience method to write XML comment line.
- writeComment(XMLWriter, String, int) - Static method in class org.apache.maven.shared.utils.xml.XmlWriterUtil
-
Convenience method to write XML comment line.
- writeComment(XMLWriter, String, int, int) - Static method in class org.apache.maven.shared.utils.xml.XmlWriterUtil
-
Convenience method to write XML comment line.
- writeComment(XMLWriter, String, int, int, int) - Static method in class org.apache.maven.shared.utils.xml.XmlWriterUtil
-
Convenience method to write XML comment line.
- writeCommentLineBreak(XMLWriter) - Static method in class org.apache.maven.shared.utils.xml.XmlWriterUtil
-
Convenience method to write XML comment line break.
- writeCommentLineBreak(XMLWriter, int) - Static method in class org.apache.maven.shared.utils.xml.XmlWriterUtil
-
Convenience method to write XML comment line break with columnSize
as length.
- writeCommentText(XMLWriter, String) - Static method in class org.apache.maven.shared.utils.xml.XmlWriterUtil
-
Convenience method to write XML comments between two comments line break.
- writeCommentText(XMLWriter, String, int) - Static method in class org.apache.maven.shared.utils.xml.XmlWriterUtil
-
Convenience method to write XML comments between two comments line break.
- writeCommentText(XMLWriter, String, int, int) - Static method in class org.apache.maven.shared.utils.xml.XmlWriterUtil
-
Convenience method to write XML comment between two comment line break.
- writeCommentText(XMLWriter, String, int, int, int) - Static method in class org.apache.maven.shared.utils.xml.XmlWriterUtil
-
Convenience method to write XML comments between two comments line break.
- writeLineBreak(XMLWriter) - Static method in class org.apache.maven.shared.utils.xml.XmlWriterUtil
-
Convenience method to write one CRLF
.
- writeLineBreak(XMLWriter, int) - Static method in class org.apache.maven.shared.utils.xml.XmlWriterUtil
-
Convenience method to repeat CRLF
.
- writeLineBreak(XMLWriter, int, int) - Static method in class org.apache.maven.shared.utils.xml.XmlWriterUtil
-
Convenience method to repeat CRLF
and to indent the writer by 2
.
- writeLineBreak(XMLWriter, int, int, int) - Static method in class org.apache.maven.shared.utils.xml.XmlWriterUtil
-
Convenience method to repeat CRLF
and to indent the writer by indentSize
.
- writeMarkup(String) - Method in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
-
Add a preformatted markup to the current element tag
- writeMarkup(String) - Method in interface org.apache.maven.shared.utils.xml.XMLWriter
-
Add a preformatted markup to the current element tag
- WriterFactory - Class in org.apache.maven.shared.utils
-
Utility to create Writers, with explicit encoding choice: platform default,
XML, or specified.
- WriterFactory() - Constructor for class org.apache.maven.shared.utils.WriterFactory
-
- WriterStreamConsumer - Class in org.apache.maven.shared.utils.cli
-
- WriterStreamConsumer(Writer) - Constructor for class org.apache.maven.shared.utils.cli.WriterStreamConsumer
-
- writeText(String) - Method in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
-
Add a value text to the current element tag
This will perform XML escaping to guarantee valid content
- writeText(String) - Method in interface org.apache.maven.shared.utils.xml.XMLWriter
-
Add a value text to the current element tag
This will perform XML escaping to guarantee valid content