package saker.build.file
@RMIWrap(SakerFileContentInformationHolder.HolderRMIWrapper.class)
A data class holding a SakerFile instance and optionally associated content information.
The class can be used to hold data about a SakerFile and its related content information.
saker.build 0.8.15
public | SakerFileContentInformationHolder( Creates a new instance. |
public ContentDescriptor | Gets the content descriptor associated to the file. |
public SakerFile | getFile() Gets the file. |
public SakerFileContentInformationHolder(SakerFile file, ContentDescriptor contentDescriptor) throws NullPointerException
Creates a new instance.
fileThe file.
contentDescriptorThe associated content descriptor. May be
null
.NullPointerExceptionIf the file is
null
.Gets the content descriptor associated to the file.
The content descriptor or
null
if not contained in this instance.