public interface FileEntry
Modifier and Type | Method and Description |
---|---|
org.codehaus.plexus.components.io.fileselectors.FileInfo |
asFileInfo() |
InputStream |
getInputStream()
Retrieve an input stream that can be used to read the file.
|
String |
getOutputRelativePath()
Retrieve the path to the file relative to where it is to be output.
|
Path |
getPath()
Retrieve the path to the file.
|
List<String> |
getRelativePathSegements(String swidTagPath)
Retrieve the relative path of to the SWID Tag.
|
Long |
getSize()
Retrieve the file's size.
|
String |
getVersion()
Retrieve the file's version.
|
Path getPath()
String getOutputRelativePath()
List<String> getRelativePathSegements(String swidTagPath)
swidTagPath
- the path to relativizeLong getSize()
InputStream getInputStream() throws FileNotFoundException, IOException
FileNotFoundException
- if the file does not existIOException
- if the file cannot be readString getVersion()
null
if a version cannot be determinedorg.codehaus.plexus.components.io.fileselectors.FileInfo asFileInfo()
Copyright © 2020 National Institute of Standards and Technology. All rights reserved.