public class FileSource extends SourceSupport
log
Constructor and Description |
---|
FileSource() |
Modifier and Type | Method and Description |
---|---|
File |
getFile() |
Model |
load()
Load a configuration model.
|
void |
setFile(File file) |
void |
setFile(String fileName) |
String |
toString() |
load, load
public void setFile(File file)
public void setFile(String fileName)
public File getFile()
public Model load() throws Exception
Source
Exception
- Failed to load the model.Copyright © 2008–2018 Sonatype. All rights reserved.