Package org.apache.maven.toolchain.io
Class DefaultToolchainsReader
java.lang.Object
org.apache.maven.toolchain.io.DefaultToolchainsReader
- All Implemented Interfaces:
- ToolchainsReader
Handles deserialization of toolchains from the default textual format.
- Since:
- 3.3.0
- Author:
- Robert Scholte
- 
Field SummaryFields inherited from interface org.apache.maven.toolchain.io.ToolchainsReaderIS_STRICT
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReads the toolchains from the specified file.read(InputStream input, Map<String, ?> options) Reads the toolchains from the specified byte stream.Reads the toolchains from the specified character reader.
- 
Constructor Details- 
DefaultToolchainsReaderpublic DefaultToolchainsReader()
 
- 
- 
Method Details- 
readDescription copied from interface:ToolchainsReaderReads the toolchains from the specified file.- Specified by:
- readin interface- ToolchainsReader
- Parameters:
- input- The file to deserialize the toolchains from, must not be- null.
- options- The options to use for deserialization, may be- nullto use the default values.
- Returns:
- The deserialized toolchains, never null.
- Throws:
- IOException- If the toolchains could not be deserialized.
 
- 
readDescription copied from interface:ToolchainsReaderReads the toolchains from the specified character reader. The reader will be automatically closed before the method returns.- Specified by:
- readin interface- ToolchainsReader
- Parameters:
- input- The reader to deserialize the toolchains from, must not be- null.
- options- The options to use for deserialization, may be- nullto use the default values.
- Returns:
- The deserialized toolchains, never null.
- Throws:
- IOException- If the toolchains could not be deserialized.
 
- 
readDescription copied from interface:ToolchainsReaderReads the toolchains from the specified byte stream. The stream will be automatically closed before the method returns.- Specified by:
- readin interface- ToolchainsReader
- Parameters:
- input- The stream to deserialize the toolchains from, must not be- null.
- options- The options to use for deserialization, may be- nullto use the default values.
- Returns:
- The deserialized toolchains, never null.
- Throws:
- IOException- If the toolchains could not be deserialized.
 
 
-