public class FileModelSource extends FileSource implements ModelSource2
File as a model source.| Constructor and Description | 
|---|
| FileModelSource(File pomFile)Creates a new model source backed by the specified file. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object obj) | 
| URI | getLocationURI()Returns location of the POM, never  null. | 
| File | getPomFile()Deprecated. 
 instead use  FileSource.getFile() | 
| ModelSource2 | getRelatedSource(String relPath)Returns model source identified by a path relative to this model source POM. | 
| int | hashCode() | 
getFile, getInputStream, getLocation, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetInputStream, getLocationpublic FileModelSource(File pomFile)
pomFile - The POM file, must not be null.@Deprecated public File getPomFile()
FileSource.getFile()public ModelSource2 getRelatedSource(String relPath)
ModelSource2relPath parameter values that
 getRelatedSource in interface ModelSource2relPath - is the path of the requested model source relative to this model source POM.null if no such model source.public URI getLocationURI()
ModelSource2null.getLocationURI in interface ModelSource2public boolean equals(Object obj)
equals in class FileSourcepublic int hashCode()
hashCode in class FileSourceCopyright © 2001–2022 The Apache Software Foundation. All rights reserved.