public abstract class AbstractFileEntry extends Object implements FileEntry
Constructor and Description |
---|
AbstractFileEntry() |
Modifier and Type | Method and Description |
---|---|
org.codehaus.plexus.components.io.fileselectors.FileInfo |
asFileInfo() |
protected abstract Path |
getBase()
Retrieve the base of the file's path, which can be excluded.
|
protected abstract String |
getOutputBase() |
String |
getOutputRelativePath()
Retrieve the path to the file relative to where it is to be output.
|
abstract Path |
getPath()
Retrieve the full path to the file.
|
protected Path |
getRelativePath()
Retrieve the relative path of the file with the base removed.
|
List<String> |
getRelativePathSegements(String swidTagPath)
Retrieve the relative path of to the SWID Tag.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInputStream, getSize, getVersion
protected abstract Path getBase()
public abstract Path getPath()
protected Path getRelativePath()
protected abstract String getOutputBase()
public String getOutputRelativePath()
FileEntry
getOutputRelativePath
in interface FileEntry
public List<String> getRelativePathSegements(String swidTagPath)
FileEntry
getRelativePathSegements
in interface FileEntry
swidTagPath
- the path to relativizepublic org.codehaus.plexus.components.io.fileselectors.FileInfo asFileInfo()
asFileInfo
in interface FileEntry
Copyright © 2020 National Institute of Standards and Technology. All rights reserved.