| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.settings.building.FileSettingsSource
public class FileSettingsSource
Wraps an ordinary File as a settings source.
| Constructor Summary | |
|---|---|
FileSettingsSource(File settingsFile)
Creates a new settings source backed by the specified file.  | 
|
| Method Summary | |
|---|---|
 InputStream | 
getInputStream()
Gets a byte stream to the settings contents.  | 
 String | 
getLocation()
Provides a user-friendly hint about the location of the settings.  | 
 File | 
getSettingsFile()
Gets the settings file of this model source.  | 
 String | 
toString()
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public FileSettingsSource(File settingsFile)
settingsFile - The settings file, must not be null.| Method Detail | 
|---|
public InputStream getInputStream()
                           throws IOException
SettingsSource
getInputStream in interface SettingsSourcenull.
IOExceptionpublic String getLocation()
SettingsSource
getLocation in interface SettingsSourcenull.public File getSettingsFile()
null.public String toString()
toString in class Object
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||