Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- a(char[]) - Method in class org.apache.maven.shared.utils.logging.AnsiMessageBuilder
- a(char[]) - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
-
Append content to the message buffer.
- a(char[]) - Method in class org.apache.maven.shared.utils.logging.PlainMessageBuilder
- a(char[], int, int) - Method in class org.apache.maven.shared.utils.logging.AnsiMessageBuilder
- a(char[], int, int) - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
-
Append content to the message buffer.
- a(char[], int, int) - Method in class org.apache.maven.shared.utils.logging.PlainMessageBuilder
- a(CharSequence) - Method in class org.apache.maven.shared.utils.logging.AnsiMessageBuilder
- a(CharSequence) - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
-
Append content to the message buffer.
- a(CharSequence) - Method in class org.apache.maven.shared.utils.logging.PlainMessageBuilder
- a(CharSequence, int, int) - Method in class org.apache.maven.shared.utils.logging.AnsiMessageBuilder
- a(CharSequence, int, int) - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
-
Append content to the message buffer.
- a(CharSequence, int, int) - Method in class org.apache.maven.shared.utils.logging.PlainMessageBuilder
- a(Object) - Method in class org.apache.maven.shared.utils.logging.AnsiMessageBuilder
- a(Object) - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
-
Append content to the message buffer.
- a(Object) - Method in class org.apache.maven.shared.utils.logging.PlainMessageBuilder
- abbreviate(String, int) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Turn "Now is the time for all good men" into "Now is the time for..."
- abbreviate(String, int, int) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Turn "Now is the time for all good men" into "...is the time for..."
- ABORT - Enum constant in enum class org.apache.maven.shared.utils.io.ScanConductor.ScanAction
-
Deprecated.Abort the whole scanning process.
- ABORT_DIRECTORY - Enum constant in enum class org.apache.maven.shared.utils.io.ScanConductor.ScanAction
-
Deprecated.Abort processing the current directory.
- AbstractJavaTool<Request extends JavaToolRequest> - Class in org.apache.maven.shared.utils.cli.javatool
-
Abstract implementation of a
JavaTool
. - AbstractJavaTool(String) - Constructor for class org.apache.maven.shared.utils.cli.javatool.AbstractJavaTool
- AbstractJavaToolRequest - Class in org.apache.maven.shared.utils.cli.javatool
-
Abstract implementation of a
JavaToolRequest
. - AbstractJavaToolRequest() - Constructor for class org.apache.maven.shared.utils.cli.javatool.AbstractJavaToolRequest
- AbstractStreamHandler - Class in org.apache.maven.shared.utils.cli
- AbstractStreamHandler() - Constructor for class org.apache.maven.shared.utils.cli.AbstractStreamHandler
- add(Method) - Method in class org.apache.maven.shared.utils.introspection.MethodMap
-
Add a method to a list of methods by name.
- addAndDeHump(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Take the input string and un-camel-case it.
- addArguments(String...) - Method in class org.apache.maven.shared.utils.cli.Commandline
- addAttribute(String, String) - Method in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
-
Add a XML attribute to the current XML Element.
- addAttribute(String, String) - Method in interface org.apache.maven.shared.utils.xml.XMLWriter
-
Add a XML attribute to the current XML Element.
- addChild(Xpp3Dom) - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
- addDefaultExcludes() - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.Adds default exclusions to the current exclusions set.
- addEnvironment(String, String) - Method in class org.apache.maven.shared.utils.cli.Commandline
-
Add an environment variable.
- addShutDownHook(Thread) - Static method in class org.apache.maven.shared.utils.cli.ShutdownHookUtils
- addSystemEnvironment() - Method in class org.apache.maven.shared.utils.cli.Commandline
-
Add system environment variables.
- AmbiguousException() - Constructor for exception org.apache.maven.shared.utils.introspection.MethodMap.AmbiguousException
- ansi - Variable in class org.apache.maven.shared.utils.logging.AnsiMessageBuilder
- AnsiMessageBuilder - Class in org.apache.maven.shared.utils.logging
- AnsiMessageBuilder() - Constructor for class org.apache.maven.shared.utils.logging.AnsiMessageBuilder
- AnsiMessageBuilder(int) - Constructor for class org.apache.maven.shared.utils.logging.AnsiMessageBuilder
- AnsiMessageBuilder(StringBuilder) - Constructor for class org.apache.maven.shared.utils.logging.AnsiMessageBuilder
- AnsiMessageBuilder(Ansi) - Constructor for class org.apache.maven.shared.utils.logging.AnsiMessageBuilder
- ANT_HANDLER_PREFIX - Static variable in class org.apache.maven.shared.utils.io.SelectorUtils
-
Deprecated.ANT pattern prefix.
- appendToTopValue(String) - Method in class org.apache.maven.shared.utils.xml.Xpp3DomBuilder.DocHandler
- apply(Ansi) - Method in enum class org.apache.maven.shared.utils.logging.Style
- Arg - Interface in org.apache.maven.shared.utils.cli
- argQuoteDelimiter - Variable in class org.apache.maven.shared.utils.cli.shell.Shell
- Argument() - Constructor for class org.apache.maven.shared.utils.cli.Commandline.Argument
- arguments - Variable in class org.apache.maven.shared.utils.cli.Commandline
- arrayAsHashSet(T[]) - Static method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.Take an array of type T and convert it into a HashSet of type T.
- attachToParent(Xpp3Dom) - Method in class org.apache.maven.shared.utils.xml.Xpp3DomBuilder.DocHandler
- attributes - Variable in class org.apache.maven.shared.utils.xml.Xpp3Dom
B
- basedir - Variable in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.The base directory to be scanned.
- bgBright - Variable in enum class org.apache.maven.shared.utils.logging.Style
- bgColor - Variable in enum class org.apache.maven.shared.utils.logging.Style
- blendFilesToList(List<String>, String...) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Private helper method for getFilesFromExtension()
- bold - Variable in enum class org.apache.maven.shared.utils.logging.Style
- bomEncoding - Variable in exception org.apache.maven.shared.utils.xml.XmlReaderException
- BourneShell - Class in org.apache.maven.shared.utils.cli.shell
- BourneShell() - Constructor for class org.apache.maven.shared.utils.cli.shell.BourneShell
-
Create instance of BourneShell.
- bright - Variable in enum class org.apache.maven.shared.utils.logging.Style
- buffer - Variable in class org.apache.maven.shared.utils.logging.PlainMessageBuilder
- buffer() - Static method in class org.apache.maven.shared.utils.logging.MessageUtils
-
Create a default message buffer.
- buffer(int) - Static method in class org.apache.maven.shared.utils.logging.MessageUtils
-
Create a message buffer with an internal buffer of defined size.
- buffer(StringBuilder) - Static method in class org.apache.maven.shared.utils.logging.MessageUtils
-
Create a message buffer with defined String builder.
- build(InputStream, String) - Static method in class org.apache.maven.shared.utils.xml.Xpp3DomBuilder
- build(InputStream, String, boolean) - Static method in class org.apache.maven.shared.utils.xml.Xpp3DomBuilder
- build(Reader) - Static method in class org.apache.maven.shared.utils.xml.Xpp3DomBuilder
- build(Reader, boolean) - Static method in class org.apache.maven.shared.utils.xml.Xpp3DomBuilder
- buildRelativePath(String, String, char) - Static method in class org.apache.maven.shared.utils.PathTool
C
- CACHE_MISS - Static variable in class org.apache.maven.shared.utils.introspection.ClassMap
- CacheMiss() - Constructor for class org.apache.maven.shared.utils.introspection.ClassMap.CacheMiss
- 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
-
Converts the first character of the given String to uppercase.
- CDATA_BLOCK_THRESHOLD_LENGTH - Static variable in class org.apache.maven.shared.utils.xml.XMLEncode
- 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
. - characters(char[], int, int) - Method in class org.apache.maven.shared.utils.xml.Xpp3DomBuilder.DocHandler
- charset(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Returns the named charset or the default charset.
- childList - Variable in class org.apache.maven.shared.utils.xml.Xpp3Dom
- childMap - Variable in class org.apache.maven.shared.utils.xml.Xpp3Dom
- CHILDREN_COMBINATION_APPEND - Static variable in class org.apache.maven.shared.utils.xml.Xpp3Dom
-
The attribute append.
- CHILDREN_COMBINATION_MERGE - Static variable in class org.apache.maven.shared.utils.xml.Xpp3Dom
- 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. - CLASS_ARGS - Static variable in class org.apache.maven.shared.utils.introspection.ReflectionValueExtractor
- CLASS_MAPS - Static variable in class org.apache.maven.shared.utils.introspection.ReflectionValueExtractor
-
Use a WeakHashMap here, so the keys (Class objects) can be garbage collected.
- 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
- ClassMap.CacheMiss - Class in org.apache.maven.shared.utils.introspection
- ClassMap.MethodInfo - Class in org.apache.maven.shared.utils.introspection
-
Used for the iterative discovery process for public methods.
- clazz - Variable in class org.apache.maven.shared.utils.introspection.ClassMap
-
Class passed into the constructor used to as the basis for the Method map.
- clean(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Removes C0 control characters, including ASCII 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
-
Deprecated.
- 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.StreamFeeder
- close() - Method in class org.apache.maven.shared.utils.cli.StreamPumper
-
Deprecated.As of 3.2.0, removed without replacement.
- close() - Method in class org.apache.maven.shared.utils.xml.XmlStreamReader
-
Deprecated.
- close(InputStream) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.use try-with-resources
- close(OutputStream) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.use try-with-resources
- close(Reader) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.use try-with-resources
- close(Writer) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.use try-with-resources
- close(Channel) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.use try-with-resources
- CLOSE_1 - Static variable in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
- CLOSE_2 - Static variable in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
- CmdShell - Class in org.apache.maven.shared.utils.cli.shell
-
Implementation to call the CMD Shell present on Windows NT, 2000, XP, 7, 8, and 10.
- CmdShell() - Constructor for class org.apache.maven.shared.utils.cli.shell.CmdShell
-
Create an instance of CmdShell.
- color - Variable in enum class org.apache.maven.shared.utils.logging.Style
- commandline - Variable in class org.apache.maven.shared.utils.cli.javatool.JavaToolResult
-
The command line used to obtain this result.
- Commandline - Class in org.apache.maven.shared.utils.cli
-
Commandline objects help handling command lines specifying processes to execute.
- Commandline() - 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(Shell) - 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
-
A single command line 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 aString
. - CommandShell - Class in org.apache.maven.shared.utils.cli.shell
-
Deprecated.Windows ME is long dead. Update to Windows 10 and use
CmdShell
. - CommandShell() - Constructor for class org.apache.maven.shared.utils.cli.shell.CommandShell
-
Deprecated.Create an instance.
- completePreviouslyOpenedElement() - Method in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
- 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.StreamPumper
- consumeLine(String) - Method in class org.apache.maven.shared.utils.cli.WriterStreamConsumer
-
Called when the StreamPumper pumps a line from the Stream.
- consumer - Variable in class org.apache.maven.shared.utils.cli.StreamPumper
- 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
-
Deprecated.use
org.apache.commons.io.IOUtils.contentEquals()
- contentTypeEncoding - Variable in exception org.apache.maven.shared.utils.xml.XmlReaderException
- contentTypeMime - Variable in exception org.apache.maven.shared.utils.xml.XmlReaderException
- CONTINUE - Enum constant in enum class org.apache.maven.shared.utils.io.ScanConductor.ScanAction
-
Deprecated.Continue the scanning with the next item in the list.
- copy(byte[], OutputStream) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.inline this method
- copy(byte[], Writer) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.always specify a character encoding
- copy(byte[], Writer, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.always specify a character encoding
- copy(byte[], Writer, String) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.use
org.apache.commons.io.IOUtils.write()
. - copy(byte[], Writer, String, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.use
org.apache.commons.io.IOUtils.write()
. - copy(InputStream, OutputStream) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.use
org.apache.commons.io.IOUtils.copy()
or in Java 9 and laterInputStream.transferTo()
. - copy(InputStream, OutputStream, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.use
org.apache.commons.io.IOUtils.copy()
or in Java 9 and laterInputStream.transferTo()
. - copy(InputStream, Writer) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.use
org.apache.commons.io.IOUtils.copy()
. - copy(InputStream, Writer, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.use
org.apache.commons.io.IOUtils.copy()
. - copy(InputStream, Writer, String) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.use
org.apache.commons.io.IOUtils.copy()
. - copy(InputStream, Writer, String, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.use
org.apache.commons.io.IOUtils.copy()
. - copy(Reader, OutputStream) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.always specify a character encoding
- copy(Reader, OutputStream, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.always specify a character encoding
- copy(Reader, Writer) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.
- copy(Reader, Writer, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.use
org.apache.commons.io.IOUtils.copy()
. - copy(String, OutputStream) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.always specify a character encoding
- copy(String, OutputStream, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.always specify a character encoding
- copy(String, Writer) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.use
org.apache.commons.io.IOUtils.write()
. - copyDirectory(File, File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
org.apache.commons.io.FileUtils.copyDirectory()
- copyDirectory(File, File, String, String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
org.apache.commons.io.FileUtils.copyDirectory()
- copyDirectoryStructure(File, File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
org.apache.commons.io.FileUtils.copyDirectory()
- copyDirectoryStructure(File, File, File, boolean) - Static method in class org.apache.maven.shared.utils.io.FileUtils
- copyFile(File, File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
java.nio.Files.copy(source.toPath(), destination.toPath(), LinkOption.NOFOLLOW_LINKS, StandardCopyOption.REPLACE_EXISTING)
- 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 copied 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
- copyFileIfModified(File, File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Copy file from source to destination only if source timestamp is later than the destination timestamp.
- copyFilePermissions(File, File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Attempts to copy file permissions from the source to the destination file.
- copyFileToDirectory(File, File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
org.apache.commons.io.FileUtils.copyFileToDirectory()
- copyFileToDirectoryIfModified(File, File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Copy file from source to destination only if source is newer than the target file.
- copyStreamToFile(InputStream, File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
java.nio.Files.copy(source, destination.toPath(), StandardCopyOption.REPLACE_EXISTING)
- copyURLToFile(URL, File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
java.nio.Files.copy(source.openStream(), destination.toPath(), StandardCopyOption.REPLACE_EXISTING)
- couldHoldIncluded(String) - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.Tests whether or not a name matches the start of at least one include pattern.
- 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 empty argument object and inserts it at the end of the argument list.
- createArg(boolean) - Method in class org.apache.maven.shared.utils.cli.Commandline
-
Creates an argument object and adds it to the 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.FileUtils
-
Create a new symbolic link, possibly replacing an existing symbolic link.
- createSymbolicLink(File, File) - Static method in class org.apache.maven.shared.utils.io.Java7Support
-
Deprecated.
- 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
-
Deprecated.use
java.nio.Files.createTempFile()
- createXmlReader() - Static method in class org.apache.maven.shared.utils.xml.Xpp3DomBuilder
D
- DARWIN - Static variable in class org.apache.maven.shared.utils.Os
-
OpenJDK is reported to call MacOS X "Darwin"
- debug(Object) - Method in class org.apache.maven.shared.utils.logging.AnsiMessageBuilder
- debug(Object) - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
- debug(Object) - Method in class org.apache.maven.shared.utils.logging.PlainMessageBuilder
- debug(String) - Method in interface org.apache.maven.shared.utils.io.DirectoryWalkListener
-
Deprecated.
- debug(String) - Method in class org.apache.maven.shared.utils.io.WalkCollector
-
Deprecated.
- debug(String) - Method in class org.apache.maven.shared.utils.logging.AnsiMessageBuilder
- debug(String) - Method in interface org.apache.maven.shared.utils.logging.LoggerLevelRenderer
-
Render a message at DEBUG level.
- debug(String) - Method in class org.apache.maven.shared.utils.logging.PlainMessageBuilder
- DEBUG - Enum constant in enum class org.apache.maven.shared.utils.logging.Style
- DEFAULT_BUFFER_SIZE - Static variable in class org.apache.maven.shared.utils.io.IOUtil
- DEFAULT_CHILDREN_COMBINATION_MODE - Static variable in class org.apache.maven.shared.utils.xml.Xpp3Dom
- 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.
- DEFAULT_LINE_INDENT - Static variable in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
- DEFAULT_QUOTE_CHAR - Static variable in class org.apache.maven.shared.utils.xml.XMLEncode
- DEFAULT_QUOTING_TRIGGER_CHARS - Static variable in class org.apache.maven.shared.utils.cli.shell.Shell
- DEFAULT_SELF_COMBINATION_MODE - Static variable in class org.apache.maven.shared.utils.xml.Xpp3Dom
- DEFAULT_TRIM - Static variable in class org.apache.maven.shared.utils.xml.Xpp3DomBuilder
- 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
-
Deprecated.Patterns which should be excluded by default.
- defaultString(Object) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Deprecated.use
java.lang.Objects.toString()
- defaultString(Object, String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Deprecated.use
java.lang.Objects.toString()
- delete(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
java.nio.files.Files.delete(file.toPath())
- delete(File) - Static method in class org.apache.maven.shared.utils.io.Java7Support
-
Deprecated.Performs a nio delete
- deleteDirectory(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
org.apache.commons.io.FileUtils.deleteDirectory()
- deleteDirectory(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
org.apache.commons.io.FileUtils.deleteDirectory()
- deleteFile(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Accommodate Windows bug encountered in both Sun and IBM JDKs.
- deleteLegacyStyle(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
java.nio.files.Files.delete(file.toPath())
- deleteWhitespace(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Deletes all whitespace from a String.
- depth - Variable in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
- determineRelativePath(String, String) - Static method in class org.apache.maven.shared.utils.PathTool
-
Determines the relative path of a filename.
- determineSeparator(String) - Static method in class org.apache.maven.shared.utils.PathTool
-
Helper method to determine the file separator (forward or backward slash) used in a filename.
- 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
-
Deprecated.
- diffIncludedFiles(String...) - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.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
-
Deprecated.use
java.nio.file.DirectoryStream
and related classes - DirectoryScanner() - Constructor for class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.Sole constructor.
- DirectoryScanResult - Class in org.apache.maven.shared.utils.io
-
Deprecated.use
java.nio.file.DirectoryStream
and related classes - DirectoryScanResult(String[], String[]) - Constructor for class org.apache.maven.shared.utils.io.DirectoryScanResult
-
Deprecated.
- directoryWalkFinished() - Method in interface org.apache.maven.shared.utils.io.DirectoryWalkListener
-
Deprecated.The directory walking has finished.
- directoryWalkFinished() - Method in class org.apache.maven.shared.utils.io.WalkCollector
-
Deprecated.The directory walking has finished.
- DirectoryWalkListener - Interface in org.apache.maven.shared.utils.io
-
Deprecated.use
java.nio.file.FileVisitor
and related classes - directoryWalkStarting(File) - Method in interface org.apache.maven.shared.utils.io.DirectoryWalkListener
-
Deprecated.The directory walking has begun.
- directoryWalkStarting(File) - Method in class org.apache.maven.shared.utils.io.WalkCollector
-
Deprecated.The directory walking has begun.
- directoryWalkStep(int, File) - Method in interface org.apache.maven.shared.utils.io.DirectoryWalkListener
-
Deprecated.The included entry that was encountered.
- directoryWalkStep(int, File) - Method in class org.apache.maven.shared.utils.io.WalkCollector
-
Deprecated.The included entry that was encountered.
- dirname(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
Paths.get(path).getParent().getName()
- dirsExcluded - Variable in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.The directories which matched at least one include and at least one exclude.
- dirsIncluded - Variable in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.The directories which matched at least one include and no excludes and were selected.
- dirsNotIncluded - Variable in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.The directories which were found and did not match any includes.
- disable() - Method in class org.apache.maven.shared.utils.cli.AbstractStreamHandler
- disabled - Variable in class org.apache.maven.shared.utils.cli.AbstractStreamHandler
- DocHandler(boolean) - Constructor for class org.apache.maven.shared.utils.xml.Xpp3DomBuilder.DocHandler
- doCopyFile(File, File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
- docType - Variable in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
- documentStarted - Variable in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
- done - Variable in class org.apache.maven.shared.utils.cli.AbstractStreamHandler
- doNotFollowSymbolicLinks(File, String, String[]) - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.
- doSystemUninstall() - Static method in class org.apache.maven.shared.utils.logging.MessageUtils
E
- elementStack - Variable in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
- elemStack - Variable in class org.apache.maven.shared.utils.xml.Xpp3DomBuilder.DocHandler
- EMPTY_DOM_ARRAY - Static variable in class org.apache.maven.shared.utils.xml.Xpp3Dom
- EMPTY_STRING_ARRAY - Static variable in class org.apache.maven.shared.utils.xml.Xpp3Dom
- encoding - Variable in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
- ENCODING_PATTERN - Static variable in class org.apache.maven.shared.utils.xml.XmlStreamReader
-
Deprecated.
- endElement() - Method in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
-
End the previously opened element.
- endElement() - Method in interface org.apache.maven.shared.utils.xml.XMLWriter
-
End the previously opened element.
- endElement(String, String, String) - Method in class org.apache.maven.shared.utils.xml.Xpp3DomBuilder.DocHandler
- endOnSameLine - Variable in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
- endsWithIgnoreCase(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Checks if String ends with a search String, handling
null
. - ensureCaseSensitivity(Map<String, String>, boolean) - Static method in class org.apache.maven.shared.utils.cli.CommandLineUtils
- ensureDocumentStarted() - Method in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
-
Write the document if not already done.
- envVars - Variable in class org.apache.maven.shared.utils.cli.Commandline
- EOF - Static variable in class org.apache.maven.shared.utils.introspection.ReflectionValueExtractor
- equals(char, char, boolean) - Static method in class org.apache.maven.shared.utils.io.SelectorUtils
-
Deprecated.Tests whether two characters are equal.
- equals(Object) - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
- equals(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Deprecated.use
java.lang.Objects.equals()
- equalsIgnoreCase(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Compares two Strings, returning
true
if they are equal ignoring the case. - error(Object) - Method in class org.apache.maven.shared.utils.logging.AnsiMessageBuilder
- error(Object) - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
- error(Object) - Method in class org.apache.maven.shared.utils.logging.PlainMessageBuilder
- error(String) - Method in class org.apache.maven.shared.utils.logging.AnsiMessageBuilder
- error(String) - Method in interface org.apache.maven.shared.utils.logging.LoggerLevelRenderer
-
Render a message at ERROR level.
- error(String) - Method in class org.apache.maven.shared.utils.logging.PlainMessageBuilder
- ERROR - Enum constant in enum class org.apache.maven.shared.utils.logging.Style
- escape(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Escapes any values it finds into their String form.
- escape(String, char[], char) - Static method in class org.apache.maven.shared.utils.StringUtils
- eval() - Method in class org.apache.maven.shared.utils.Os
-
Determines if the OS on which Ant is executing matches the type of that set in setFamily.
- evaluate(String, Object) - Static method in class org.apache.maven.shared.utils.introspection.ReflectionValueExtractor
-
The implementation supports indexed, nested and mapped properties.
- evaluate(String, Object, boolean) - Static method in class org.apache.maven.shared.utils.introspection.ReflectionValueExtractor
-
The implementation supports indexed, nested and mapped properties.
- exception - Variable in class org.apache.maven.shared.utils.cli.StreamFeeder
- exception - Variable in class org.apache.maven.shared.utils.cli.StreamPumper
- excludes - Variable in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.The patterns for the files to be excluded.
- excludesPatterns - Variable in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.
- executable - Variable in class org.apache.maven.shared.utils.cli.shell.Shell
- execute() - Method in class org.apache.maven.shared.utils.cli.Commandline
-
Execute the command.
- execute(Request) - Method in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaTool
-
Execute the input request and then returns the result of the execution.
- execute(Request) - Method in interface org.apache.maven.shared.utils.cli.javatool.JavaTool
-
Execute the input request and then returns the result of the execution.
- executeCommandLine(Commandline, InputStream, StreamConsumer, StreamConsumer) - Static method in class org.apache.maven.shared.utils.cli.CommandLineUtils
- executeCommandLine(Commandline, InputStream, StreamConsumer, StreamConsumer, int) - Static method in class org.apache.maven.shared.utils.cli.CommandLineUtils
- executeCommandLine(Commandline, InputStream, StreamConsumer, StreamConsumer, int, Runnable) - Static method in class org.apache.maven.shared.utils.cli.CommandLineUtils
- executeCommandLine(Commandline, InputStream, StreamConsumer, StreamConsumer, int, Runnable, Charset) - Static method in class org.apache.maven.shared.utils.cli.CommandLineUtils
- executeCommandLine(Commandline, StreamConsumer, StreamConsumer) - Static method in class org.apache.maven.shared.utils.cli.CommandLineUtils
- executeCommandLine(Commandline, StreamConsumer, StreamConsumer, int) - Static method in class org.apache.maven.shared.utils.cli.CommandLineUtils
- executeCommandLine(Commandline, Request) - Method in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaTool
- executeCommandLineAsCallable(Commandline, InputStream, StreamConsumer, StreamConsumer, int, Runnable) - Static method in class org.apache.maven.shared.utils.cli.CommandLineUtils
-
Immediately forks a process, returns a callable that will block until process is complete.
- executeCommandLineAsCallable(Commandline, InputStream, StreamConsumer, StreamConsumer, int, Runnable, Charset) - Static method in class org.apache.maven.shared.utils.cli.CommandLineUtils
-
Immediately forks a process, returns a callable that will block until process is complete.
- executionException - Variable in class org.apache.maven.shared.utils.cli.javatool.JavaToolResult
-
The exception that prevented to execute the command line, will be
null
if jarSigner could be successfully started. - exeQuoteDelimiter - Variable in class org.apache.maven.shared.utils.cli.shell.Shell
- exists(File) - Static method in class org.apache.maven.shared.utils.io.Java7Support
-
Deprecated.
- exitCode - Variable in class org.apache.maven.shared.utils.cli.javatool.JavaToolResult
-
The exit code reported by the Maven invocation.
- expression - Variable in class org.apache.maven.shared.utils.introspection.ReflectionValueExtractor.Tokenizer
- extension(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
org.apache.commons.io.FilenameUtils.getExtension
F
- failure(Object) - Method in class org.apache.maven.shared.utils.logging.AnsiMessageBuilder
- failure(Object) - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
-
Append message content in failure style.
- failure(Object) - Method in class org.apache.maven.shared.utils.logging.PlainMessageBuilder
- FAILURE - Enum constant in enum class org.apache.maven.shared.utils.logging.Style
- family - Variable in class org.apache.maven.shared.utils.Os
-
OS family to look for
- 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.
- feed() - Method in class org.apache.maven.shared.utils.cli.StreamFeeder
- FILE_COPY_BUFFER_SIZE - Static variable in class org.apache.maven.shared.utils.io.FileUtils
-
The file copy buffer size (30 MB)
- 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
-
Deprecated.use
java.nio.files.Files.write(filename, data.getBytes(), StandardOpenOption.APPEND, StandardOpenOption.CREATE)
- fileAppend(String, String, String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
java.nio.files.Files.write(filename, data.getBytes(encoding), StandardOpenOption.APPEND, StandardOpenOption.CREATE)
- fileDelete(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
Files.delete(Paths.get(fileName))
- fileExists(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
java.io.File.exists()
- filename(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
Paths.get(path).getName()
- fileRead(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
new String(java.nio.files.Files.readAllBytes(file.toPath()))
- fileRead(File, String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
new String(java.nio.files.Files.readAllBytes(file.toPath()), encoding)
- fileRead(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
new String(java.nio.files.Files.readAllBytes(file))
- fileRead(String, String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
new String(java.nio.files.Files.readAllBytes(Paths.get(file)), encoding)
- fileReadArray(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
java.nio.files.Files.readAllLines()
- filesAdded - Variable in class org.apache.maven.shared.utils.io.DirectoryScanResult
-
Deprecated.
- filesExcluded - Variable in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.The files which matched at least one include and at least one exclude.
- filesIncluded - Variable in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.The files which matched at least one include and no excludes and were selected.
- filesNotIncluded - Variable in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.The files which did not match any includes or selectors.
- filesRemoved - Variable in class org.apache.maven.shared.utils.io.DirectoryScanResult
-
Deprecated.
- 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.
- fileWrite(File, String, String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
java.nio.files.Files.write(file.toPath(), data.getBytes(encoding), StandardOpenOption.CREATE)
- fileWrite(String, String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
java.nio.files.Files.write(filename, data.getBytes(), StandardOpenOption.CREATE)
- fileWrite(String, String, String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
java.nio.files.Files.write(Paths.get(filename), data.getBytes(encoding), StandardOpenOption.CREATE)
- fileWriteArray(File, String...) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
java.nio.files.Files.write(file.toPath(), data.getBytes(encoding), StandardOpenOption.CREATE)
- fileWriteArray(File, String, String...) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
java.nio.files.Files.write(file.toPath(), data.getBytes(encoding), StandardOpenOption.CREATE)
- FilterWrapper() - Constructor for class org.apache.maven.shared.utils.io.FileUtils.FilterWrapper
- find(String, Object...) - Method in class org.apache.maven.shared.utils.introspection.MethodMap
-
Find a method.
- findExecutable(String, String, String...) - Method in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaTool
-
Finds the specified command in any of the given sub directories of the specified JDK/JRE home directory.
- 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.
- findToolchainExecutable() - Method in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaTool
-
Run toolchain.findTool( javaToolName ); through reflection to avoid compile dependency on Maven core.
- finishCount - Variable in class org.apache.maven.shared.utils.io.WalkCollector
-
Deprecated.
- flush() - Method in class org.apache.maven.shared.utils.cli.StreamPumper
-
Deprecated.As of 3.2.0, removed without replacement.
- followSymlinks - Variable in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.Whether or not symbolic links should be followed.
- forceDelete(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
org.apache.commons.io.FileUtils.deleteQuietly()
- forceDelete(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
org.apache.commons.io.FileUtils.deleteQuietly()
- forceMkdir(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Make a directory.
- format(String, Object...) - Method in class org.apache.maven.shared.utils.logging.AnsiMessageBuilder
- format(String, Object...) - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
-
Append formatted content to the buffer.
- format(String, Object...) - Method in class org.apache.maven.shared.utils.logging.PlainMessageBuilder
- from(String...) - Static method in class org.apache.maven.shared.utils.io.MatchPatterns
-
Deprecated.
- fromString(String) - Static method in class org.apache.maven.shared.utils.io.MatchPattern
-
Deprecated.
- FS - Static variable in class org.apache.maven.shared.utils.io.FileUtils
-
The vm line separator
G
- get(String) - Method in class org.apache.maven.shared.utils.introspection.MethodMap
-
Return a list of methods with the same name.
- getAccessibleMethods(Class<?>) - Static method in class org.apache.maven.shared.utils.introspection.ClassMap
-
Retrieves public methods for a class.
- getAccessibleMethods(Class<?>, ClassMap.MethodInfo[], int) - Static method in class org.apache.maven.shared.utils.introspection.ClassMap
-
Recursively finds a match for each method, starting with the class, and then searching the superclass and interfaces.
- getApplicables(List<Method>, Class<?>...) - Static method in class org.apache.maven.shared.utils.introspection.MethodMap
-
Returns all methods that are applicable to actual argument types.
- getArgumentQuoteDelimiter() - Method in class org.apache.maven.shared.utils.cli.shell.Shell
- 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
-
Deprecated.Returns the base directory to be scanned.
- getBomEncoding() - Method in exception org.apache.maven.shared.utils.xml.XmlReaderException
-
Returns the BOM encoding found in the InputStream.
- getCachedClass() - Method in class org.apache.maven.shared.utils.introspection.ClassMap
- 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
- getChildrenList() - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
- getChildrenList(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.
- getClassMap(Class<?>) - Static method in class org.apache.maven.shared.utils.introspection.ReflectionValueExtractor
- 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.
- getCommandLine(String, String...) - Method in class org.apache.maven.shared.utils.cli.shell.Shell
-
Get the command line for the provided executable and arguments in this shell
- getCommonChildren(Xpp3Dom, Xpp3Dom) - Static method in class org.apache.maven.shared.utils.xml.Xpp3DomUtils
- getContentTypeEncoding() - Method in exception org.apache.maven.shared.utils.xml.XmlReaderException
-
Returns the encoding in the content-type used to attempt determining the encoding.
- getContentTypeMime() - Method in exception org.apache.maven.shared.utils.xml.XmlReaderException
-
Returns the MIME type in the content-type used to attempt determining the encoding.
- getDefaultEncoding() - Static method in class org.apache.maven.shared.utils.xml.XmlStreamReader
-
Deprecated.
- 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 Strings.
- getEncoding() - Method in class org.apache.maven.shared.utils.xml.XmlStreamReader
-
Deprecated.
- getEnvironmentVariables() - Method in class org.apache.maven.shared.utils.cli.Commandline
-
Return the list of environment variables.
- getEscapeChars(boolean, boolean) - Method in class org.apache.maven.shared.utils.cli.shell.Shell
- getException() - Method in class org.apache.maven.shared.utils.cli.StreamFeeder
- getException() - Method in class org.apache.maven.shared.utils.cli.StreamPumper
- getExcludedDirectories() - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.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
-
Deprecated.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
- getExecutableQuoteDelimiter() - 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
- getExecutionPreamble() - Method in class org.apache.maven.shared.utils.cli.shell.Shell
- 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
-
Deprecated.use
org.apache.commons.io.FilenameUtils.getExtension()
- getFileAndDirectoryNames(File, String, String, boolean, boolean, boolean, boolean) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Return a list of file names as Strings.
- 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.
- getFileNames(File, String, String, boolean, 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
-
Deprecated.
- 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
-
Deprecated.
- getIncludedDirectories() - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.this method is buggy. Do not depend on it.
- getIncludedFiles() - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.this method does not work correctly on Windows.
- getIndexedValue(String, int, int, Object, String) - Static method in class org.apache.maven.shared.utils.introspection.ReflectionValueExtractor
- getInputStream() - Method in exception org.apache.maven.shared.utils.xml.XmlReaderException
-
Returns the unconsumed InputStream to allow the application to do an alternate encoding detection on the InputStream.
- 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.
- getMappedValue(String, int, int, Object, String) - Static method in class org.apache.maven.shared.utils.introspection.ReflectionValueExtractor
- getMostSpecific(List<Method>, Class<?>...) - Static method in class org.apache.maven.shared.utils.introspection.MethodMap
- 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
-
Deprecated.Returns the names of the directories which matched none of the include patterns.
- getNotIncludedFiles() - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.Returns the names of the files which matched none of the include patterns.
- getOsFamily() - Static method in class org.apache.maven.shared.utils.Os
-
Helper method to determine the current OS family.
- getOutput() - Method in class org.apache.maven.shared.utils.cli.CommandLineUtils.StringStreamConsumer
- getParent() - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
- getParts() - Method in class org.apache.maven.shared.utils.cli.Commandline.Argument
- getPosition() - Method in class org.apache.maven.shared.utils.introspection.ReflectionValueExtractor.Tokenizer
- 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.
- getPrettyPrintXMLWriter(StringWriter) - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
- getPropertyValue(Object, String) - Static method in class org.apache.maven.shared.utils.introspection.ReflectionValueExtractor
- getPublicMethod(Class<?>, String, Class<?>...) - Static method in class org.apache.maven.shared.utils.introspection.ClassMap
-
Looks up the method with specified name and signature in the first public superclass or implemented interface of the class.
- getPublicMethod(Method) - Static method in class org.apache.maven.shared.utils.introspection.ClassMap
-
For a given method, retrieves its publicly accessible counterpart.
- getQuotingTriggerChars() - Method in class org.apache.maven.shared.utils.cli.shell.Shell
- getRawCommandLine(String, String...) - Method in class org.apache.maven.shared.utils.cli.shell.Shell
- 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 paths 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
- getShellArgs() - Method in class org.apache.maven.shared.utils.cli.shell.Shell
-
Get the shell arguments
- getShellArgsList() - Method in class org.apache.maven.shared.utils.cli.shell.BourneShell
- getShellArgsList() - Method in class org.apache.maven.shared.utils.cli.shell.Shell
- getShellCommand() - Method in class org.apache.maven.shared.utils.cli.shell.Shell
-
Get the command to execute the shell.
- getShellCommandline() - Method in class org.apache.maven.shared.utils.cli.Commandline
- getShellCommandline(boolean) - Method in class org.apache.maven.shared.utils.cli.Commandline
- 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
-
Deprecated.use System#getenv()
- getSystemEnvVars(boolean) - Static method in class org.apache.maven.shared.utils.cli.CommandLineUtils
-
Deprecated.use System#getenv()
- 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. - getTerminalWidth() - Static method in class org.apache.maven.shared.utils.logging.MessageUtils
-
Get the terminal width or -1 if the width cannot be determined.
- getTokenizedPathString() - Method in class org.apache.maven.shared.utils.io.MatchPattern
-
Deprecated.
- 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
- getWorkingDirectoryAsString() - Method in class org.apache.maven.shared.utils.cli.shell.Shell
- getXmlEncoding() - Method in exception org.apache.maven.shared.utils.xml.XmlReaderException
-
Returns the encoding found in the XML prolog of the InputStream.
- getXmlGuessEncoding() - Method in exception org.apache.maven.shared.utils.xml.XmlReaderException
-
Returns the encoding guess based on the first bytes of the InputStream.
H
- hashCode() - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
- haveSlowResults - Variable in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.Whether or not our results were built by a slow scan.
I
- idx - Variable in class org.apache.maven.shared.utils.introspection.ReflectionValueExtractor.Tokenizer
- in - Variable in class org.apache.maven.shared.utils.cli.StreamPumper
- includes - Variable in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.The patterns for the files to be included.
- includesPatterns - Variable in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.
- INCOMPARABLE - Static variable in class org.apache.maven.shared.utils.introspection.MethodMap
- INDEXED_END - Static variable in class org.apache.maven.shared.utils.introspection.ReflectionValueExtractor
- INDEXED_START - Static variable in class org.apache.maven.shared.utils.introspection.ReflectionValueExtractor
- 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(Object) - Method in class org.apache.maven.shared.utils.logging.AnsiMessageBuilder
- info(Object) - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
- info(Object) - Method in class org.apache.maven.shared.utils.logging.PlainMessageBuilder
- info(String) - Method in class org.apache.maven.shared.utils.logging.AnsiMessageBuilder
- info(String) - Method in interface org.apache.maven.shared.utils.logging.LoggerLevelRenderer
-
Render a message at INFO level.
- info(String) - Method in class org.apache.maven.shared.utils.logging.PlainMessageBuilder
- INFO - Enum constant in enum class org.apache.maven.shared.utils.logging.Style
- input - Variable in class org.apache.maven.shared.utils.cli.StreamFeeder
- instantiate(String) - Static method in class org.apache.maven.shared.utils.xml.Xpp3DomBuilder
- 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.
- IntrospectionException - Exception in org.apache.maven.shared.utils.introspection
- IntrospectionException(String) - Constructor for exception org.apache.maven.shared.utils.introspection.IntrospectionException
- IntrospectionException(Throwable) - Constructor for exception org.apache.maven.shared.utils.introspection.IntrospectionException
- INVALID_CHARACTERS_FOR_WINDOWS_FILE_NAME - Static variable in class org.apache.maven.shared.utils.io.FileUtils
-
Non-valid Characters for naming files, folders under Windows:
":", "*", "?", "\"", "<", ">", "|"
- IOUtil - Class in org.apache.maven.shared.utils.io
-
General IO Stream manipulation.
- IOUtil() - Constructor for class org.apache.maven.shared.utils.io.IOUtil
-
Private constructor to prevent instantiation.
- is - Variable in exception org.apache.maven.shared.utils.xml.XmlReaderException
- isAlive(Process) - Static method in class org.apache.maven.shared.utils.cli.CommandLineUtils
- 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 (
' '
). - isAntPrefixedPattern(String) - Static method in class org.apache.maven.shared.utils.io.SelectorUtils
-
Deprecated.
- isApplicable(Method, Class<?>...) - Static method in class org.apache.maven.shared.utils.introspection.MethodMap
-
Returns true if the supplied method is applicable to actual argument types.
- 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
-
Deprecated.
- isBlank(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Checks if a String is whitespace, empty ("") or null.
- isCaseSensitive - Variable in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.Whether or not the file system should be treated as a case sensitive one.
- 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.
- isCombineSelfOverride(Xpp3Dom) - Static method in class org.apache.maven.shared.utils.xml.Xpp3DomUtils
- isCompatibleWithCDATABlock(String) - Static method in class org.apache.maven.shared.utils.xml.XMLEncode
-
Can this text be stored into a CDATA block?
- isDisabled() - Method in class org.apache.maven.shared.utils.cli.AbstractStreamHandler
- isDone() - Method in class org.apache.maven.shared.utils.cli.AbstractStreamHandler
- isDoubleQuotedArgumentEscaped() - Method in class org.apache.maven.shared.utils.cli.shell.Shell
- isDoubleQuotedExecutableEscaped() - 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
- isExcluded(String) - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.Tests whether or not a name matches against at least one exclude pattern.
- 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.
- isIncluded(String) - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.Tests whether or not a name matches against at least one include pattern.
- isJava7() - Static method in class org.apache.maven.shared.utils.io.Java7Support
-
Deprecated.
- isMask() - Method in class org.apache.maven.shared.utils.cli.Commandline.Argument
- isMergeChildren(Xpp3Dom) - Static method in class org.apache.maven.shared.utils.xml.Xpp3DomUtils
- isMergeChildren(Xpp3Dom, Boolean) - Static method in class org.apache.maven.shared.utils.xml.Xpp3DomUtils
- isMethodInvocationConvertible(Class<?>, Class<?>) - Static method in class org.apache.maven.shared.utils.introspection.MethodMap
-
Determines whether a type represented by a class object is convertible to another type represented by a class object using a method invocation conversion, treating object types of primitive types as if they were primitive types (that is, a Boolean actual parameter type matches boolean primitive formal type).
- 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
-
Deprecated.use
java.nio.charset.StandardCharset.ISO_8859_1
- ISO_8859_1 - Static variable in class org.apache.maven.shared.utils.WriterFactory
-
Deprecated.use
java.nio.charset.StandardCharset.ISO_8859_1
- isOs(String, String, String, 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, name, architecture and version
- isQuotedArgumentsEnabled() - Method in class org.apache.maven.shared.utils.cli.shell.Shell
- isQuotedExecutableEnabled() - Method in class org.apache.maven.shared.utils.cli.shell.Shell
- isRegexPrefixedPattern(String) - Static method in class org.apache.maven.shared.utils.io.SelectorUtils
-
Deprecated.
- isSingleQuotedArgumentEscaped() - Method in class org.apache.maven.shared.utils.cli.shell.Shell
- isSingleQuotedExecutableEscaped() - Method in class org.apache.maven.shared.utils.cli.shell.Shell
- isStrictMethodInvocationConvertible(Class<?>, Class<?>) - Static method in class org.apache.maven.shared.utils.introspection.MethodMap
-
Determines whether a type represented by a class object is convertible to another type represented by a class object using a method invocation conversion, without matching object and primitive types.
- isSymbolicLink(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
java.nio.file.Files.isSymbolicLink(file.toPath())
- isSymbolicLink(File, String) - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.Checks whether a given file is a symbolic link.
- isSymbolicLinkForSure(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
java.nio.file.Files.isSymbolicLink(file.toPath())
- isSymLink(File) - Static method in class org.apache.maven.shared.utils.io.Java7Support
-
Deprecated.
- isUnconditionalQuoting() - Method in class org.apache.maven.shared.utils.cli.shell.Shell
- isValidFamily(String) - Static method in class org.apache.maven.shared.utils.Os
-
Test if the given family String represents a valid Family
- isValidFile(String, String...) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Checks to see if a file is of a particular type(s).
- isValidWindowsFileName(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
For Windows OS, check if the file name contains any of the following characters:
":", "*", "?", "\"", "<", ">", "|"
- 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.
- isWhiteSpace(String) - Static method in class org.apache.maven.shared.utils.xml.XMLEncode
-
Checks if this text purely consists of the white space characters ' ', TAB, NEWLINE.
- iterator() - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
J
- JANSI - Static variable in class org.apache.maven.shared.utils.logging.MessageUtils
- Java7Support - Class in org.apache.maven.shared.utils.io
-
Deprecated.no longer needed, prefer to use
Files
methods directly. - Java7Support() - Constructor for class org.apache.maven.shared.utils.io.Java7Support
-
Deprecated.
- JavaTool<Request extends JavaToolRequest> - Interface in org.apache.maven.shared.utils.cli.javatool
-
Describes a java tool, means a executable available in the jdk.
- JavaToolException - Exception in org.apache.maven.shared.utils.cli.javatool
-
Signals an error during the construction of the command line used to invoke java tool, e.g.
- JavaToolException(String) - Constructor for exception org.apache.maven.shared.utils.cli.javatool.JavaToolException
- JavaToolException(String, Throwable) - Constructor for exception org.apache.maven.shared.utils.cli.javatool.JavaToolException
- javaToolFile - Variable in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaTool
-
The location of the java tool executable file.
- javaToolName - Variable in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaTool
-
The java tool name to find out in the jdk.
- JavaToolRequest - Interface in org.apache.maven.shared.utils.cli.javatool
-
Specifies the minimum parameters used to control a
JavaTool
invocation. - JavaToolResult - Class in org.apache.maven.shared.utils.cli.javatool
-
Describes the result of a
JavaTool
invocation. - JavaToolResult() - Constructor for class org.apache.maven.shared.utils.cli.javatool.JavaToolResult
- join(Object[], String) - Static method in class org.apache.maven.shared.utils.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.apache.maven.shared.utils.StringUtils
-
Joins the elements of the provided
Iterator
into a single String containing the provided elements.
L
- lastIndexOfAny(String, String...) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Find the latest index of any of a set of potential substrings.
- left(String, int) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Gets the leftmost
n
characters of a String. - leftPad(String, int) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Left pad a String with spaces.
- leftPad(String, int, String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Left pad a String with a specified string.
- LESS_SPECIFIC - Static variable in class org.apache.maven.shared.utils.introspection.MethodMap
- level() - Static method in class org.apache.maven.shared.utils.logging.MessageUtils
-
Create a logger level renderer.
- LINE_SEP - Static variable in class org.apache.maven.shared.utils.Os
-
system line separator , e.g.
- lineIndent - Variable in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
- lineSeparator - Variable in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
- loadFile(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.assumes the platform default character set
- loadOptionalProperties(File) - Static method in class org.apache.maven.shared.utils.PropertyUtils
-
Loads
Properties
from aFile
. - loadOptionalProperties(InputStream) - Static method in class org.apache.maven.shared.utils.PropertyUtils
-
Loads
Properties
from anInputStream
and closes the stream. - loadOptionalProperties(URL) - Static method in class org.apache.maven.shared.utils.PropertyUtils
-
Loads
Properties
from a givenURL
. - loadProperties(File) - Static method in class org.apache.maven.shared.utils.PropertyUtils
-
Deprecated.use
PropertyUtils.loadOptionalProperties(java.io.File)
instead. This method should not be used as it suppresses exceptions silently when loading properties fails and returnsnull
instead of an emptyProperties
instance when the givenFile
isnull
. - loadProperties(InputStream) - Static method in class org.apache.maven.shared.utils.PropertyUtils
-
Deprecated.use
PropertyUtils.loadOptionalProperties(java.io.InputStream)
instead. This method should not be used as it suppresses exceptions silently when loading properties fails. - loadProperties(URL) - Static method in class org.apache.maven.shared.utils.PropertyUtils
-
Deprecated.use
PropertyUtils.loadOptionalProperties(java.net.URL)
instead. This method should not be used as it suppresses exceptions silently when loading properties fails and returnsnull
instead of an emptyProperties
instance when the givenURL
isnull
. - LoggerLevelRenderer - Interface in org.apache.maven.shared.utils.logging
-
Logger level renderer, intended for Maven slf4j logging provider implementers to render logger level.
- lookAhead(int, int, String) - Static method in class org.apache.maven.shared.utils.xml.XMLEncode
- lowerCase(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Convert a String to lower case,
null
String returnsnull
. - lowercaseFirstLetter(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Converts the first character of the given String to lowercase.
- LS - Static variable in class org.apache.maven.shared.utils.cli.CommandLineUtils.StringStreamConsumer
- LS - Static variable in class org.apache.maven.shared.utils.xml.XmlWriterUtil
-
The vm line separator
M
- makeMethodKey(Method) - Method in class org.apache.maven.shared.utils.introspection.ClassMap
-
Make a methodKey for the given method using the concatenation of the name and the types of the method parameters.
- makeMethodKey(String, Object...) - Static method in class org.apache.maven.shared.utils.introspection.ClassMap
- MAPPED_END - Static variable in class org.apache.maven.shared.utils.introspection.ReflectionValueExtractor
- MAPPED_START - Static variable in class org.apache.maven.shared.utils.introspection.ReflectionValueExtractor
- mask - Variable in class org.apache.maven.shared.utils.cli.Commandline.Argument
- match(String, String) - Static method in class org.apache.maven.shared.utils.io.SelectorUtils
-
Deprecated.Tests whether or not a string matches against a pattern.
- match(String, String, boolean) - Static method in class org.apache.maven.shared.utils.io.SelectorUtils
-
Deprecated.Tests whether or not a string matches against a pattern.
- matchAntPathPattern(String[], String[], boolean) - Static method in class org.apache.maven.shared.utils.io.SelectorUtils
-
Deprecated.
- matchAntPathPattern(String, String, boolean) - Static method in class org.apache.maven.shared.utils.io.SelectorUtils
-
Deprecated.
- matchAntPathPattern(MatchPattern, String, String, boolean) - Static method in class org.apache.maven.shared.utils.io.SelectorUtils
-
Deprecated.
- matchAntPathPatternStart(String[], String[], boolean) - Static method in class org.apache.maven.shared.utils.io.SelectorUtils
-
Deprecated.
- matchAntPathPatternStart(String[], String, String, boolean) - Static method in class org.apache.maven.shared.utils.io.SelectorUtils
-
Deprecated.
- matchAntPathPatternStart(String, String, String, boolean) - Static method in class org.apache.maven.shared.utils.io.SelectorUtils
-
Deprecated.
- matchAntPathPatternStart(MatchPattern, String, String, boolean) - Static method in class org.apache.maven.shared.utils.io.SelectorUtils
-
Deprecated.
- matches(String, boolean) - Method in class org.apache.maven.shared.utils.io.MatchPatterns
-
Deprecated.Checks these MatchPatterns against a specified string.
- matchesPatternStart(String, boolean) - Method in class org.apache.maven.shared.utils.io.MatchPatterns
-
Deprecated.
- matchPath(String, boolean) - Method in class org.apache.maven.shared.utils.io.MatchPattern
-
Deprecated.
- matchPath(String, String) - Static method in class org.apache.maven.shared.utils.io.SelectorUtils
-
Deprecated.Tests whether or not a given path matches a given pattern.
- matchPath(String, String[], boolean) - Method in class org.apache.maven.shared.utils.io.MatchPattern
-
Deprecated.
- matchPath(String, String, boolean) - Static method in class org.apache.maven.shared.utils.io.SelectorUtils
-
Deprecated.Tests whether or not a given path matches a given pattern.
- MatchPattern - Class in org.apache.maven.shared.utils.io
-
Deprecated.use
java.nio.filejava.nio.file.DirectoryStream.Filter<T>
and related classes - MatchPattern(String, String) - Constructor for class org.apache.maven.shared.utils.io.MatchPattern
-
Deprecated.
- MatchPatterns - Class in org.apache.maven.shared.utils.io
-
Deprecated.use
java.nio.filejava.nio.file.DirectoryStream.Filter<T>
and related classes - MatchPatterns(MatchPattern...) - Constructor for class org.apache.maven.shared.utils.io.MatchPatterns
-
Deprecated.
- matchPatternStart(String, boolean) - Method in class org.apache.maven.shared.utils.io.MatchPattern
-
Deprecated.
- matchPatternStart(String, String) - Static method in class org.apache.maven.shared.utils.io.SelectorUtils
-
Deprecated.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.apache.maven.shared.utils.io.SelectorUtils
-
Deprecated.Tests whether or not a given path matches the start of a given pattern up to the first "**".
- merge(Xpp3Dom, Xpp3Dom, Boolean) - Static method in class org.apache.maven.shared.utils.xml.Xpp3DomUtils
- mergeXpp3Dom(Xpp3Dom, Xpp3Dom) - Static method in class org.apache.maven.shared.utils.xml.Xpp3Dom
- mergeXpp3Dom(Xpp3Dom, Xpp3Dom) - Static method in class org.apache.maven.shared.utils.xml.Xpp3DomUtils
- mergeXpp3Dom(Xpp3Dom, Xpp3Dom, Boolean) - Static method in class org.apache.maven.shared.utils.xml.Xpp3Dom
- mergeXpp3Dom(Xpp3Dom, Xpp3Dom, Boolean) - Static method in class org.apache.maven.shared.utils.xml.Xpp3DomUtils
- MessageBuilder - Interface in org.apache.maven.shared.utils.logging
-
Message builder that supports configurable styling.
- MessageUtils - Class in org.apache.maven.shared.utils.logging
-
Colored message utils, to manage colors consistently across plugins (only if Maven version is at least 3.5.0).
- MessageUtils() - Constructor for class org.apache.maven.shared.utils.logging.MessageUtils
- method - Variable in class org.apache.maven.shared.utils.introspection.ClassMap.MethodInfo
- methodByNameMap - Variable in class org.apache.maven.shared.utils.introspection.MethodMap
-
Keep track of all methods with the same name.
- methodCache - Variable in class org.apache.maven.shared.utils.introspection.ClassMap
-
Cache of Methods, or CACHE_MISS, keyed by method name and actual arguments used to find it.
- MethodInfo(Method) - Constructor for class org.apache.maven.shared.utils.introspection.ClassMap.MethodInfo
- methodMap - Variable in class org.apache.maven.shared.utils.introspection.ClassMap
- MethodMap - Class in org.apache.maven.shared.utils.introspection
- MethodMap() - Constructor for class org.apache.maven.shared.utils.introspection.MethodMap
- MethodMap.AmbiguousException - Exception in org.apache.maven.shared.utils.introspection
-
simple distinguishable exception, used when we run across ambiguous overloading
- mid(String, int, int) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Gets
n
characters from the middle of a String. - MILLIS_PER_SECOND - Static variable in class org.apache.maven.shared.utils.cli.CommandLineUtils
-
Number of milliseconds per second.
- mkdir(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
java.nio.file.Files.createDirectories(Paths.get(dir))
- mkdirsFor(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
- mojo(Object) - Method in class org.apache.maven.shared.utils.logging.AnsiMessageBuilder
- mojo(Object) - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
-
Append message content in mojo style.
- mojo(Object) - Method in class org.apache.maven.shared.utils.logging.PlainMessageBuilder
- MOJO - Enum constant in enum class org.apache.maven.shared.utils.logging.Style
- MORE_SPECIFIC - Static variable in class org.apache.maven.shared.utils.introspection.MethodMap
- moreSpecific(Class<?>[], Class<?>[]) - Static method in class org.apache.maven.shared.utils.introspection.MethodMap
-
Determines which method signature (represented by a class array) is more specific.
N
- name - Variable in class org.apache.maven.shared.utils.introspection.ClassMap.MethodInfo
- name - Variable in class org.apache.maven.shared.utils.xml.Xpp3Dom
- NANOS_PER_SECOND - Static variable in class org.apache.maven.shared.utils.cli.CommandLineUtils
-
Number of nanoseconds per second.
- needsEncoding(String) - Static method in class org.apache.maven.shared.utils.xml.XMLEncode
-
Checks if this text needs encoding in order to be represented in XML.
- needsEncoding(String, boolean) - Static method in class org.apache.maven.shared.utils.xml.XMLEncode
-
Checks if this text needs encoding in order to be represented in XML.
- newline() - Method in class org.apache.maven.shared.utils.logging.AnsiMessageBuilder
- newline() - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
-
Append newline to the message buffer.
- newline() - Method in class org.apache.maven.shared.utils.logging.PlainMessageBuilder
- newLine() - Method in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
- newPlatformReader(File) - Static method in class org.apache.maven.shared.utils.ReaderFactory
-
Deprecated.always specify an encoding. Do not depend on the default platform character set.
- newPlatformWriter(File) - Static method in class org.apache.maven.shared.utils.WriterFactory
-
Deprecated.always specify an encoding. Do not depend on the default platform character set.
- newPlatformWriter(OutputStream) - Static method in class org.apache.maven.shared.utils.WriterFactory
-
Deprecated.always specify an encoding. Do not depend on the default platform character set.
- newReader(File, String) - Static method in class org.apache.maven.shared.utils.ReaderFactory
-
Create a new Reader with specified encoding.
- newReader(InputStream, String) - Static method in class org.apache.maven.shared.utils.ReaderFactory
-
Create a new Reader with specified encoding.
- newReader(URL, String) - Static method in class org.apache.maven.shared.utils.ReaderFactory
-
Create a new Reader with specified encoding.
- newWriter(File, String) - Static method in class org.apache.maven.shared.utils.WriterFactory
-
Create a new Writer with specified encoding.
- newWriter(OutputStream, String) - Static method in class org.apache.maven.shared.utils.WriterFactory
-
Create a new Writer with specified encoding.
- newXmlReader(File) - Static method in class org.apache.maven.shared.utils.ReaderFactory
-
Deprecated.use org.apache.commons.io.input.XmlStreamReader instead
- newXmlReader(InputStream) - Static method in class org.apache.maven.shared.utils.ReaderFactory
-
Deprecated.use org.apache.commons.io.input.XmlStreamReader instead
- newXmlReader(URL) - Static method in class org.apache.maven.shared.utils.ReaderFactory
-
Deprecated.use
org.apache.commons.io.input.XmlStreamReader
instead - newXmlWriter(File) - Static method in class org.apache.maven.shared.utils.WriterFactory
-
Create a new Writer with XML encoding detection rules.
- newXmlWriter(OutputStream) - Static method in class org.apache.maven.shared.utils.WriterFactory
-
Create a new Writer with XML encoding detection rules.
- nextPropertyName() - Method in class org.apache.maven.shared.utils.introspection.ReflectionValueExtractor.Tokenizer
- nextToken(char) - Method in class org.apache.maven.shared.utils.introspection.ReflectionValueExtractor.Tokenizer
- NO_RECURSE - Enum constant in enum class org.apache.maven.shared.utils.io.ScanConductor.ScanAction
-
Deprecated.This response is only valid for
ScanConductor.visitDirectory(String, java.io.File)
. - normalize(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
org.apache.commons.io.FileNameUtils.normalize()
O
- OBJECT - Static variable in class org.apache.maven.shared.utils.introspection.ClassMap
- OBJECT_ARGS - Static variable in class org.apache.maven.shared.utils.introspection.ReflectionValueExtractor
- ONE_KB - Static variable in class org.apache.maven.shared.utils.io.FileUtils
-
The number of bytes in a kilobyte.
- ONE_MB - Static variable in class org.apache.maven.shared.utils.io.FileUtils
-
The number of bytes in a megabyte.
- org.apache.maven.shared.utils - package org.apache.maven.shared.utils
- org.apache.maven.shared.utils.cli - package org.apache.maven.shared.utils.cli
- org.apache.maven.shared.utils.cli.javatool - package org.apache.maven.shared.utils.cli.javatool
- org.apache.maven.shared.utils.cli.shell - package org.apache.maven.shared.utils.cli.shell
- org.apache.maven.shared.utils.introspection - package org.apache.maven.shared.utils.introspection
- org.apache.maven.shared.utils.io - package org.apache.maven.shared.utils.io
- org.apache.maven.shared.utils.logging - package org.apache.maven.shared.utils.logging
-
An API to write Maven messages to console with styled color content, consistently across whole Maven ecosystem (Maven itself or any plugin or extension).
- org.apache.maven.shared.utils.xml - package org.apache.maven.shared.utils.xml
- org.apache.maven.shared.utils.xml.pull - package org.apache.maven.shared.utils.xml.pull
- Os - Class in org.apache.maven.shared.utils
-
Condition that tests the OS type.
- Os() - Constructor for class org.apache.maven.shared.utils.Os
-
Default constructor
- Os(String) - Constructor for class org.apache.maven.shared.utils.Os
-
Constructor that sets the family attribute
- OS_ARCH - Static variable in class org.apache.maven.shared.utils.Os
-
The OA architecture.
- OS_FAMILY - Static variable in class org.apache.maven.shared.utils.Os
-
OS Family
- OS_NAME - Static variable in class org.apache.maven.shared.utils.Os
-
The OS Name.
- OS_VERSION - Static variable in class org.apache.maven.shared.utils.Os
-
The OS version.
- output - Variable in class org.apache.maven.shared.utils.cli.StreamFeeder
- overlayString(String, String, int, int) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Overlay a part of a String with another String.
P
- parameterTypes - Variable in class org.apache.maven.shared.utils.introspection.ClassMap.MethodInfo
- parent - Variable in class org.apache.maven.shared.utils.xml.Xpp3Dom
- parseSax(InputSource, boolean) - Static method in class org.apache.maven.shared.utils.xml.Xpp3DomBuilder
- parts - Variable in class org.apache.maven.shared.utils.cli.Commandline.Argument
- PATH_SEP - Static variable in class org.apache.maven.shared.utils.Os
-
The path separator.
- PathTool - Class in org.apache.maven.shared.utils
-
Path tool contains static methods to assist in determining path-related information such as relative paths.
- PathTool() - Constructor for class org.apache.maven.shared.utils.PathTool
-
Deprecated.This is a utility class with only static methods. Don't create instances of it.
- PATTERN_HANDLER_PREFIX - Static variable in class org.apache.maven.shared.utils.io.SelectorUtils
-
Deprecated.Pattern handler prefix.
- PATTERN_HANDLER_SUFFIX - Static variable in class org.apache.maven.shared.utils.io.SelectorUtils
-
Deprecated.Pattern handler suffix.
- patterns - Variable in class org.apache.maven.shared.utils.io.MatchPatterns
-
Deprecated.
- peekChar() - Method in class org.apache.maven.shared.utils.introspection.ReflectionValueExtractor.Tokenizer
- percentageHigh - Variable in class org.apache.maven.shared.utils.io.WalkCollector
-
Deprecated.
- percentageLow - Variable in class org.apache.maven.shared.utils.io.WalkCollector
-
Deprecated.
- PlainMessageBuilder - Class in org.apache.maven.shared.utils.logging
-
Message builder implementation that just ignores styling, for Maven version earlier than 3.5.0.
- PlainMessageBuilder() - Constructor for class org.apache.maven.shared.utils.logging.PlainMessageBuilder
- PlainMessageBuilder(int) - Constructor for class org.apache.maven.shared.utils.logging.PlainMessageBuilder
- PlainMessageBuilder(StringBuilder) - Constructor for class org.apache.maven.shared.utils.logging.PlainMessageBuilder
- pop() - Method in class org.apache.maven.shared.utils.xml.Xpp3DomBuilder.DocHandler
- populateMethodCache() - Method in class org.apache.maven.shared.utils.introspection.ClassMap
-
Populate the Map of direct hits.
- positiveRandom(Random) - Static method in class org.apache.maven.shared.utils.io.FileUtils
- prechomp(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Remove the first value of a supplied String, and everything before it from a String.
- PrettyPrintXMLWriter - Class in org.apache.maven.shared.utils.xml
-
XMLWriter with nice indentation.
- PrettyPrintXMLWriter(PrintWriter) - Constructor for class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
- PrettyPrintXMLWriter(PrintWriter, char[], char[], String, String) - Constructor for class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
- PrettyPrintXMLWriter(PrintWriter, String) - Constructor for class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
- PrettyPrintXMLWriter(PrintWriter, String, String) - Constructor for class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
- PrettyPrintXMLWriter(PrintWriter, String, String, String) - Constructor for class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
- PrettyPrintXMLWriter(PrintWriter, String, String, String, String) - Constructor for class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
- PrettyPrintXMLWriter(Writer) - Constructor for class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
- PrettyPrintXMLWriter(Writer, String) - Constructor for class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
- PrettyPrintXMLWriter(Writer, String, String) - Constructor for class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
- PrettyPrintXMLWriter(Writer, String, String, String) - Constructor for class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
- processingElement - Variable in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
- project(Object) - Method in class org.apache.maven.shared.utils.logging.AnsiMessageBuilder
- project(Object) - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
-
Append message content in project style.
- project(Object) - Method in class org.apache.maven.shared.utils.logging.PlainMessageBuilder
- PROJECT - Enum constant in enum class org.apache.maven.shared.utils.logging.Style
- PROPERTY_START - Static variable in class org.apache.maven.shared.utils.introspection.ReflectionValueExtractor
- PropertyUtils - Class in org.apache.maven.shared.utils
-
Static utility methods for loading properties.
- PropertyUtils() - Constructor for class org.apache.maven.shared.utils.PropertyUtils
-
Deprecated.This is a utility class with only static methods. Don't create instances of it.
- pushOnStack(Xpp3Dom) - Method in class org.apache.maven.shared.utils.xml.Xpp3DomBuilder.DocHandler
Q
- quoteAndEscape(String, char) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Quote and escape a String with the given character, handling
null
. - quoteAndEscape(String, char, char[]) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Quote and escape a String with the given character, handling
null
. - quoteAndEscape(String, char, char[], char[], char, boolean) - Static method in class org.apache.maven.shared.utils.StringUtils
- quoteAndEscape(String, char, char[], char, boolean) - Static method in class org.apache.maven.shared.utils.StringUtils
- quotedArgumentsEnabled - Variable in class org.apache.maven.shared.utils.cli.shell.Shell
- quotedExecutableEnabled - Variable in class org.apache.maven.shared.utils.cli.shell.Shell
- quoteOneItem(String, boolean) - Method in class org.apache.maven.shared.utils.cli.shell.BourneShell
-
Unify quotes in a path for the Bourne Shell.
- quoteOneItem(String, boolean) - Method in class org.apache.maven.shared.utils.cli.shell.Shell
R
- read(char[], int, int) - Method in class org.apache.maven.shared.utils.xml.XmlStreamReader
-
Deprecated.
- reader - Variable in class org.apache.maven.shared.utils.xml.XmlStreamReader
-
Deprecated.
- 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
-
Deprecated.
- 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
- ReflectionValueExtractor() - Constructor for class org.apache.maven.shared.utils.introspection.ReflectionValueExtractor
- ReflectionValueExtractor.Tokenizer - Class in org.apache.maven.shared.utils.introspection
- REGEX_HANDLER_PREFIX - Static variable in class org.apache.maven.shared.utils.io.SelectorUtils
-
Deprecated.Regex start pattern.
- regexPattern - Variable in class org.apache.maven.shared.utils.io.MatchPattern
-
Deprecated.
- regexPatternRegex - Variable in class org.apache.maven.shared.utils.io.MatchPattern
-
Deprecated.
- registerShutdownHook() - Static method in class org.apache.maven.shared.utils.logging.MessageUtils
-
Register a shutdown hook with the JVM runtime, uninstalling Ansi support on JVM shutdown unless is has already been uninstalled at that time.
- removeAndHump(String, String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
This is basically the inverse of
StringUtils.addAndDeHump(String)
. - 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 replace line terminators with a single space.
- removeExtension(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
org.apache.commons.io.FilenameUtils.removeExtension()
- 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
-
Deprecated.use
java.nio.Files.move()
- 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 occurrences 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 its canonical form. - result - Variable in class org.apache.maven.shared.utils.xml.Xpp3DomBuilder.DocHandler
- reverse(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Reverse a String.
- reverseArray(String...) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Reverses an array.
- 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.StreamFeeder
- run() - Method in class org.apache.maven.shared.utils.cli.StreamPumper
-
run it.
S
- scan() - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.Scans the base directory for files which match at least one include pattern and don't match any exclude patterns.
- scanAction - Variable in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.The last ScanAction.
- ScanAction() - Constructor for enum class org.apache.maven.shared.utils.io.ScanConductor.ScanAction
-
Deprecated.
- scanConductor - Variable in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.A
ScanConductor
an control the scanning process. - ScanConductor - Interface in org.apache.maven.shared.utils.io
-
Deprecated.use
java.nio.file.Files.walkFileTree()
and related classes - ScanConductor.ScanAction - Enum Class in org.apache.maven.shared.utils.io
-
Deprecated.
- scandir(File, String, boolean) - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.Scans the given directory for files and directories.
- SelectorUtils - Class in org.apache.maven.shared.utils.io
-
Deprecated.use
java.nio.file.Files.walkFileTree()
and related classes - SelectorUtils() - Constructor for class org.apache.maven.shared.utils.io.SelectorUtils
-
Deprecated.Private Constructor
- 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
. - separator - Variable in class org.apache.maven.shared.utils.io.MatchPattern
-
Deprecated.
- separatorPatternStartSlashMismatch(String, String, String) - Static method in class org.apache.maven.shared.utils.io.SelectorUtils
-
Deprecated.
- separatorPatternStartSlashMismatch(MatchPattern, String, String) - Static method in class org.apache.maven.shared.utils.io.SelectorUtils
-
Deprecated.
- serialVersionUID - Static variable in exception org.apache.maven.shared.utils.cli.CommandLineException
- serialVersionUID - Static variable in exception org.apache.maven.shared.utils.cli.CommandLineTimeOutException
- serialVersionUID - Static variable in exception org.apache.maven.shared.utils.cli.javatool.JavaToolException
- serialVersionUID - Static variable in exception org.apache.maven.shared.utils.introspection.IntrospectionException
- serialVersionUID - Static variable in exception org.apache.maven.shared.utils.introspection.MethodMap.AmbiguousException
- serialVersionUID - Static variable in exception org.apache.maven.shared.utils.xml.pull.XmlPullParserException
- serialVersionUID - Static variable in exception org.apache.maven.shared.utils.xml.XmlReaderException
- serialVersionUID - Static variable in exception org.apache.maven.shared.utils.xml.XmlStreamReaderException
- serialVersionUID - Static variable in class org.apache.maven.shared.utils.xml.Xpp3Dom
- setArgumentQuoteDelimiter(char) - Method in class org.apache.maven.shared.utils.cli.shell.Shell
- setAttribute(String, String) - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
- setBasedir(File) - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.Sets the base directory to be scanned.
- setBasedir(String) - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.Sets the base directory to be scanned.
- setCaseSensitive(boolean) - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.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
-
Deprecated.
- setDefaultShell() - Method in class org.apache.maven.shared.utils.cli.Commandline
-
Sets the shell or command-line interpreter for the detected operating system, and the shell arguments.
- 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.
- setDone() - Method in class org.apache.maven.shared.utils.cli.AbstractStreamHandler
- 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
-
Deprecated.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.
- setExecutableQuoteDelimiter(char) - Method in class org.apache.maven.shared.utils.cli.shell.Shell
- 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.
- setFamily(String) - Method in class org.apache.maven.shared.utils.Os
-
Sets the desired OS family type
- 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
-
Deprecated.Sets whether or not symbolic links should be followed.
- setIncludes(String...) - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.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
-
Whether to hide the argument value when a command line prints the arguments.
- setMask(boolean) - Method in class org.apache.maven.shared.utils.cli.Commandline.Argument
-
Whether to hide the argument value when a command line prints the 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
- setQuotedExecutableEnabled(boolean) - Method in class org.apache.maven.shared.utils.cli.shell.Shell
- setScanConductor(ScanConductor) - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.
- setShell(Shell) - Method in class org.apache.maven.shared.utils.cli.Commandline
-
Set the shell to be used for this command line.
- setShellArgs(String[]) - Method in class org.apache.maven.shared.utils.cli.shell.Shell
-
Set the shell arguments when calling a command line (not the executable arguments) (e.g.
- setShellCommand(String) - Method in class org.apache.maven.shared.utils.cli.shell.Shell
-
Set the command to execute the shell (e.g.
- setSingleQuotedArgumentEscaped(boolean) - Method in class org.apache.maven.shared.utils.cli.shell.Shell
- setSingleQuotedExecutableEscaped(boolean) - Method in class org.apache.maven.shared.utils.cli.shell.Shell
- 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.
- setUnconditionalQuoting(boolean) - Method in class org.apache.maven.shared.utils.cli.shell.Shell
- setupDefaultFilters() - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.
- setupMatchPatterns() - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.
- 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(File) - Method in class org.apache.maven.shared.utils.cli.Commandline
-
Sets working directory.
- setWorkingDirectory(File) - Method in class org.apache.maven.shared.utils.cli.shell.Shell
-
Sets execution directory.
- setWorkingDirectory(String) - Method in class org.apache.maven.shared.utils.cli.Commandline
-
Sets working directory.
- setWorkingDirectory(String) - Method in class org.apache.maven.shared.utils.cli.shell.Shell
-
Sets execution directory.
- shell - Variable in class org.apache.maven.shared.utils.cli.Commandline
- Shell - Class in org.apache.maven.shared.utils.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.apache.maven.shared.utils.cli.shell.Shell
- shellArgs - Variable in class org.apache.maven.shared.utils.cli.shell.Shell
- shellCommand - Variable in class org.apache.maven.shared.utils.cli.shell.Shell
- shutdownHook - Static variable in class org.apache.maven.shared.utils.logging.MessageUtils
-
Reference to the JVM shutdown hook, if registered
- 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
- singleQuotedArgumentEscaped - Variable in class org.apache.maven.shared.utils.cli.shell.Shell
- singleQuotedExecutableEscaped - Variable in class org.apache.maven.shared.utils.cli.shell.Shell
- SIZE - Static variable in class org.apache.maven.shared.utils.cli.StreamPumper
- sizeOfDirectory(File) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
org.apache.commons.io.FileUtils.sizeOf()
- sizeOfDirectory(String) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Deprecated.use
org.apache.commons.io.FileUtils.sizeOf()
- skipChar() - Method in class org.apache.maven.shared.utils.introspection.ReflectionValueExtractor.Tokenizer
- slowScan() - Method in class org.apache.maven.shared.utils.io.DirectoryScanner
-
Deprecated.Top level invocation for a slow scan.
- source - Variable in class org.apache.maven.shared.utils.io.MatchPattern
-
Deprecated.
- spacePreserve - Variable in class org.apache.maven.shared.utils.xml.Xpp3DomBuilder.DocHandler
- 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.
- startCount - Variable in class org.apache.maven.shared.utils.io.WalkCollector
-
Deprecated.
- 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.
- startElement(String, String, String, Attributes) - Method in class org.apache.maven.shared.utils.xml.Xpp3DomBuilder.DocHandler
- startingDir - Variable in class org.apache.maven.shared.utils.io.WalkCollector
-
Deprecated.
- startsWith(String) - Method in class org.apache.maven.shared.utils.io.MatchPattern
-
Deprecated.
- STARTUP_SHUTDOWN_MONITOR - Static variable in class org.apache.maven.shared.utils.logging.MessageUtils
-
Synchronization monitor for the "uninstall"
- staticDefaultEncoding - Static variable in class org.apache.maven.shared.utils.xml.XmlStreamReader
-
Deprecated.
- steps - Variable in class org.apache.maven.shared.utils.io.WalkCollector
-
Deprecated.
- 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".
- StreamFeeder - Class in org.apache.maven.shared.utils.cli
-
Read from an InputStream and write the output to an OutputStream.
- StreamFeeder(InputStream, OutputStream) - Constructor for class org.apache.maven.shared.utils.cli.StreamFeeder
-
Create a new StreamFeeder
- 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
- StreamPumper(Reader, StreamConsumer) - Constructor for class org.apache.maven.shared.utils.cli.StreamPumper
- string - Variable in class org.apache.maven.shared.utils.cli.CommandLineUtils.StringStreamConsumer
- StringStreamConsumer() - Constructor for class org.apache.maven.shared.utils.cli.CommandLineUtils.StringStreamConsumer
- 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 class org.apache.maven.shared.utils.logging.AnsiMessageBuilder
- strong(Object) - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
-
Append message content in strong style.
- strong(Object) - Method in class org.apache.maven.shared.utils.logging.PlainMessageBuilder
- STRONG - Enum constant in enum class org.apache.maven.shared.utils.logging.Style
- Style - Enum Class in org.apache.maven.shared.utils.logging
-
Configurable message styles.
- Style(String) - Constructor for enum class org.apache.maven.shared.utils.logging.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 class org.apache.maven.shared.utils.logging.AnsiMessageBuilder
- success(Object) - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
-
Append message content in success style.
- success(Object) - Method in class org.apache.maven.shared.utils.logging.PlainMessageBuilder
- SUCCESS - Enum constant in enum class org.apache.maven.shared.utils.logging.Style
- swapCase(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Swaps the case of String.
- systemErrorStreamConsumer - Variable in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaToolRequest
-
Optional system error stream consumer used by the commandline execution.
- systemInstall() - Static method in class org.apache.maven.shared.utils.logging.MessageUtils
-
Install color support.
- systemOutStreamConsumer - Variable in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaToolRequest
-
Optional system out stream consumer used by the commandline execution.
- systemUninstall() - Static method in class org.apache.maven.shared.utils.logging.MessageUtils
-
Undo a previous
MessageUtils.systemInstall()
.
T
- toByteArray(InputStream) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.use
org.apache.commons.io.IOUtils.readFully()
. - toByteArray(InputStream, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.use
org.apache.commons.io.IOUtils.readFully()
. - toByteArray(Reader) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.always specify a character encoding
- toByteArray(Reader, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.always specify a character encoding
- toByteArray(String) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.always specify a character encoding
- toByteArray(String, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.always specify a character encoding
- toColor(String) - Static method in enum class org.apache.maven.shared.utils.logging.Style
- toFile(URL) - Static method in class org.apache.maven.shared.utils.io.FileUtils
-
Convert from a
URL
to aFile
. - tokenized - Variable in class org.apache.maven.shared.utils.io.MatchPattern
-
Deprecated.
- tokenizePath(String, String) - Static method in class org.apache.maven.shared.utils.io.SelectorUtils
-
Deprecated.Breaks a path up into a List of path elements, tokenizing on
File.separator
. - tokenizePathToString(String, String) - Static method in class org.apache.maven.shared.utils.io.MatchPattern
-
Deprecated.
- tokenizePathToString(String, String) - Static method in class org.apache.maven.shared.utils.io.SelectorUtils
-
Deprecated.
- Tokenizer(String) - Constructor for class org.apache.maven.shared.utils.introspection.ReflectionValueExtractor.Tokenizer
- toolchain - Variable in class org.apache.maven.shared.utils.cli.javatool.AbstractJavaTool
-
Optional toolChain used to find java tool executable file.
- toString() - Method in class org.apache.maven.shared.utils.cli.Commandline
- toString() - Method in class org.apache.maven.shared.utils.introspection.ReflectionValueExtractor.Tokenizer
- toString() - Method in class org.apache.maven.shared.utils.logging.AnsiMessageBuilder
- toString() - Method in class org.apache.maven.shared.utils.logging.PlainMessageBuilder
- toString() - Method in enum class org.apache.maven.shared.utils.logging.Style
- toString() - Method in class org.apache.maven.shared.utils.xml.Xpp3Dom
- toString(byte[]) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.always specify a character encoding
- toString(byte[], int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.always specify a character encoding
- toString(byte[], String) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.use
new String(input, encoding)
- toString(byte[], String, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.use
new String(input, encoding)
- toString(InputStream) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.always specify a character encoding
- toString(InputStream, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.always specify a character encoding
- toString(InputStream, String) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.use
org.apache.commons.io.IOUtils.toString()
. - toString(InputStream, String, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.use
org.apache.commons.io.IOUtils.toString()
. - toString(Reader) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.use
org.apache.commons.io.IOUtils.toString()
. - toString(Reader, int) - Static method in class org.apache.maven.shared.utils.io.IOUtil
-
Deprecated.use
org.apache.commons.io.IOUtils.toString()
. - toString(String...) - Static method in class org.apache.maven.shared.utils.cli.CommandLineUtils
- 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 - Variable in class org.apache.maven.shared.utils.xml.Xpp3DomBuilder.DocHandler
- trim(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Removes C0 control characters, including ASCII whitespace, from both ends of this String, handling
null
by returningnull
. - tryUpcasting(Class<?>) - Method in class org.apache.maven.shared.utils.introspection.ClassMap.MethodInfo
U
- 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.
- unconditionalQuoting - Variable in class org.apache.maven.shared.utils.cli.shell.Shell
- unifyLineSeparators(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Deprecated.this method produces platform dependent code and contributes to non-reproducible builds. In the context of Maven, this is almost never what's needed. Remove calls to this method and do not replace them. That is, change
Stringutils.unifyLineSeparators(s)
to simplys
. - 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.
- upcast - Variable in class org.apache.maven.shared.utils.introspection.ClassMap.MethodInfo
- upperCase(String) - Static method in class org.apache.maven.shared.utils.StringUtils
-
Convert a String to upper case,
null
String returnsnull
. - uppercaseDrive(String) - Static method in class org.apache.maven.shared.utils.PathTool
-
Cygwin prefers lowercase drive letters, but other parts of maven use uppercase
- US_ASCII - Static variable in class org.apache.maven.shared.utils.ReaderFactory
-
Deprecated.use
java.nio.charset.StandardCharset.US_ASCII
- US_ASCII - Static variable in class org.apache.maven.shared.utils.WriterFactory
-
Deprecated.use
java.nio.charset.StandardCharset.US_ASCII
- UTF_16 - Static variable in class org.apache.maven.shared.utils.ReaderFactory
-
Deprecated.use
java.nio.charset.StandardCharset.UTF_16
- UTF_16 - Static variable in class org.apache.maven.shared.utils.WriterFactory
-
Deprecated.use
java.nio.charset.StandardCharset.UTF_16
- UTF_16BE - Static variable in class org.apache.maven.shared.utils.ReaderFactory
-
Deprecated.use
java.nio.charset.StandardCharset.UTF_16BE
- UTF_16BE - Static variable in class org.apache.maven.shared.utils.WriterFactory
-
Deprecated.use
java.nio.charset.StandardCharset.UTF_16BE
- UTF_16LE - Static variable in class org.apache.maven.shared.utils.ReaderFactory
-
Deprecated.use
java.nio.charset.StandardCharset.UTF_16LE
- UTF_16LE - Static variable in class org.apache.maven.shared.utils.WriterFactory
-
Deprecated.use
java.nio.charset.StandardCharset.UTF_16LE
- UTF_8 - Static variable in class org.apache.maven.shared.utils.ReaderFactory
-
Deprecated.use
java.nio.charset.StandardCharset.UTF_8
- UTF_8 - Static variable in class org.apache.maven.shared.utils.WriterFactory
-
Deprecated.use
java.nio.charset.StandardCharset.UTF_8
V
- VALID_FAMILIES - Static variable in class org.apache.maven.shared.utils.Os
- value - Variable in class org.apache.maven.shared.utils.xml.Xpp3Dom
- valueOf(String) - Static method in enum class org.apache.maven.shared.utils.io.ScanConductor.ScanAction
-
Deprecated.Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.maven.shared.utils.logging.Style
-
Returns the enum constant of this class with the specified name.
- values - Variable in class org.apache.maven.shared.utils.xml.Xpp3DomBuilder.DocHandler
- values() - Static method in enum class org.apache.maven.shared.utils.io.ScanConductor.ScanAction
-
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.maven.shared.utils.logging.Style
-
Returns an array containing the constants of this enum class, in the order they are declared.
- visitDirectory(String, File) - Method in interface org.apache.maven.shared.utils.io.ScanConductor
-
Deprecated.This method will get invoked for every detected directory.
- visitFile(String, File) - Method in interface org.apache.maven.shared.utils.io.ScanConductor
-
Deprecated.This method will get invoked for every detected file.
W
- waitUntilDone() - Method in class org.apache.maven.shared.utils.cli.AbstractStreamHandler
- WalkCollector - Class in org.apache.maven.shared.utils.io
-
Deprecated.use
java.nio.file.FileVisitor
and related classes - WalkCollector() - Constructor for class org.apache.maven.shared.utils.io.WalkCollector
-
Deprecated.Create an instance.
- warning(Object) - Method in class org.apache.maven.shared.utils.logging.AnsiMessageBuilder
- warning(Object) - Method in interface org.apache.maven.shared.utils.logging.MessageBuilder
-
Append message content in warning style.
- warning(Object) - Method in class org.apache.maven.shared.utils.logging.PlainMessageBuilder
- warning(String) - Method in class org.apache.maven.shared.utils.logging.AnsiMessageBuilder
- warning(String) - Method in interface org.apache.maven.shared.utils.logging.LoggerLevelRenderer
-
Render a message at WARNING level.
- warning(String) - Method in class org.apache.maven.shared.utils.logging.PlainMessageBuilder
- WARNING - Enum constant in enum class org.apache.maven.shared.utils.logging.Style
- workingDir - Variable in class org.apache.maven.shared.utils.cli.shell.Shell
- write(PrintWriter, Xpp3Dom) - Static method in class org.apache.maven.shared.utils.xml.Xpp3DomWriter
- write(Writer, 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.
- writeDocumentHeader() - Method in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
- 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 by2
. - 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 byindentSize
. - writeMarkup(String) - Method in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
-
Add preformatted markup to the current element tag.
- writeMarkup(String) - Method in interface org.apache.maven.shared.utils.xml.XMLWriter
-
Add preformatted markup to the current element tag.
- writer - Variable in class org.apache.maven.shared.utils.cli.WriterStreamConsumer
- writer - Variable in class org.apache.maven.shared.utils.xml.PrettyPrintXMLWriter
- 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 text to the current element tag.
- writeText(String) - Method in interface org.apache.maven.shared.utils.xml.XMLWriter
-
Add text to the current element tag.
X
- xmlDecodeTextToCDATA(String) - Static method in class org.apache.maven.shared.utils.xml.XMLEncode
-
Make CDATA out of possibly encoded PCDATA.
- XMLEncode - Class in org.apache.maven.shared.utils.xml
-
Collection of XML encoding/decoding helpers.
- XMLEncode() - Constructor for class org.apache.maven.shared.utils.xml.XMLEncode
- xmlEncodeText(String) - Static method in class org.apache.maven.shared.utils.xml.XMLEncode
-
Encodes text as XML in the most suitable way, either CDATA block or PCDATA.
- xmlEncodeText(String, Writer) - Static method in class org.apache.maven.shared.utils.xml.XMLEncode
- xmlEncodeTextAsCDATABlock(String) - Static method in class org.apache.maven.shared.utils.xml.XMLEncode
-
Returns string as CDATA block if possible, otherwise null.
- xmlEncodeTextAsPCDATA(String) - Static method in class org.apache.maven.shared.utils.xml.XMLEncode
-
Encodes any text as PCDATA.
- xmlEncodeTextAsPCDATA(String, boolean) - Static method in class org.apache.maven.shared.utils.xml.XMLEncode
-
Encodes any text as PCDATA.
- xmlEncodeTextAsPCDATA(String, boolean, char) - Static method in class org.apache.maven.shared.utils.xml.XMLEncode
-
Encodes any text as PCDATA.
- xmlEncodeTextAsPCDATA(String, boolean, char, Writer) - Static method in class org.apache.maven.shared.utils.xml.XMLEncode
- xmlEncodeTextForAttribute(String, char) - Static method in class org.apache.maven.shared.utils.xml.XMLEncode
-
Makes any text fit into XML attributes.
- xmlEncoding - Variable in exception org.apache.maven.shared.utils.xml.XmlReaderException
- xmlGuessEncoding - Variable in exception org.apache.maven.shared.utils.xml.XmlReaderException
- XmlPullParserException - Exception in org.apache.maven.shared.utils.xml.pull
- XmlPullParserException(IOException) - Constructor for exception org.apache.maven.shared.utils.xml.pull.XmlPullParserException
- XmlPullParserException(String) - Constructor for exception org.apache.maven.shared.utils.xml.pull.XmlPullParserException
- XmlPullParserException(SAXException) - Constructor for exception org.apache.maven.shared.utils.xml.pull.XmlPullParserException
- XmlReaderException - Exception in org.apache.maven.shared.utils.xml
-
The XmlReaderException is thrown by the XmlReader constructors if the charset encoding can not be determined according to the XML 1.0 specification and RFC 3023.
- XmlReaderException(String, String, String, String, InputStream) - Constructor for exception org.apache.maven.shared.utils.xml.XmlReaderException
-
Creates an exception instance if the charset encoding could not be determined.
- XmlReaderException(String, String, String, String, String, String, InputStream) - Constructor for exception org.apache.maven.shared.utils.xml.XmlReaderException
-
Creates an exception instance if the charset encoding could not be determined.
- XmlStreamReader - Class in org.apache.maven.shared.utils.xml
-
Deprecated.use org.apache.commons.io.input.XmlStreamReader instead
- XmlStreamReader(File) - Constructor for class org.apache.maven.shared.utils.xml.XmlStreamReader
-
Deprecated.
- XmlStreamReader(InputStream) - Constructor for class org.apache.maven.shared.utils.xml.XmlStreamReader
-
Deprecated.
- XmlStreamReader(InputStream, boolean) - Constructor for class org.apache.maven.shared.utils.xml.XmlStreamReader
-
Deprecated.
- XmlStreamReader(InputStream, String) - Constructor for class org.apache.maven.shared.utils.xml.XmlStreamReader
-
Deprecated.
- XmlStreamReader(InputStream, String, boolean) - Constructor for class org.apache.maven.shared.utils.xml.XmlStreamReader
-
Deprecated.
- XmlStreamReader(InputStream, String, boolean, String) - Constructor for class org.apache.maven.shared.utils.xml.XmlStreamReader
-
Deprecated.
- XmlStreamReader(URL) - Constructor for class org.apache.maven.shared.utils.xml.XmlStreamReader
-
Deprecated.
- XmlStreamReader(URLConnection) - Constructor for class org.apache.maven.shared.utils.xml.XmlStreamReader
-
Deprecated.
- XmlStreamReaderException - Exception in org.apache.maven.shared.utils.xml
-
The XmlStreamReaderException is thrown by the XmlStreamReader constructors if the charset encoding can not be determined according to the XML 1.0 specification and RFC 3023.
- XmlStreamReaderException(String, String, String, String, InputStream) - Constructor for exception org.apache.maven.shared.utils.xml.XmlStreamReaderException
-
Creates an exception instance if the charset encoding could not be determined.
- XmlStreamReaderException(String, String, String, String, String, String, InputStream) - Constructor for exception org.apache.maven.shared.utils.xml.XmlStreamReaderException
-
Creates an exception instance if the charset encoding could not be determined.
- XmlStreamWriter - Class in org.apache.maven.shared.utils.xml
-
We just wrap the commons StreamWriter to not get into troubles by exposing shaded commons-io packages
- XmlStreamWriter(File) - Constructor for class org.apache.maven.shared.utils.xml.XmlStreamWriter
- XmlStreamWriter(OutputStream) - Constructor for class org.apache.maven.shared.utils.xml.XmlStreamWriter
- XMLWriter - Interface in org.apache.maven.shared.utils.xml
-
Interface for tools writing XML files.
- XmlWriterUtil - Class in org.apache.maven.shared.utils.xml
-
Utility class for the
XmlWriter
class. - XmlWriterUtil() - Constructor for class org.apache.maven.shared.utils.xml.XmlWriterUtil
- Xpp3Dom - Class in org.apache.maven.shared.utils.xml
-
A reimplementation of Plexus Xpp3Dom based on the public interface of Plexus Xpp3Dom.
- Xpp3Dom(String) - Constructor for class org.apache.maven.shared.utils.xml.Xpp3Dom
- Xpp3Dom(Xpp3Dom) - Constructor for class org.apache.maven.shared.utils.xml.Xpp3Dom
-
Create instance.
- Xpp3Dom(Xpp3Dom, String) - Constructor for class org.apache.maven.shared.utils.xml.Xpp3Dom
-
Create instance.
- Xpp3DomBuilder - Class in org.apache.maven.shared.utils.xml
- Xpp3DomBuilder() - Constructor for class org.apache.maven.shared.utils.xml.Xpp3DomBuilder
- Xpp3DomBuilder.DocHandler - Class in org.apache.maven.shared.utils.xml
- Xpp3DomUtils - Class in org.apache.maven.shared.utils.xml
- Xpp3DomUtils() - Constructor for class org.apache.maven.shared.utils.xml.Xpp3DomUtils
- Xpp3DomWriter - Class in org.apache.maven.shared.utils.xml
- Xpp3DomWriter() - Constructor for class org.apache.maven.shared.utils.xml.Xpp3DomWriter
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
org.apache.commons.io.FileUtils.cleanDirectory()