| Constructor and Description |
|---|
FileData(FileDescriptor pFileDescriptor,
IExecutionContext pContext)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IPropertyData |
getPropertyData()
Returns the parsed contents of a structured file.
|
IGetDataResponse |
getRawContents()
Gets the raw, unparsed contents of the file descriptor.
|
public FileData(FileDescriptor pFileDescriptor, IExecutionContext pContext)
pFileDescriptor - file descriptor to get the data frompContext - execution context used to resolve property references in the
file descriptorpublic IPropertyData getPropertyData() throws TaurusCoreException
IFileDataIStructureType.readStructure(FileDescriptor, String) of the file
descriptors structure type.getPropertyData in interface IFileDataIStructureTaurusCoreException - IStructureType cannot be
found or is invalid.
public IGetDataResponse getRawContents() throws TaurusCoreException
IFileDatagetRawContents in interface IFileDataTaurusCoreException - if retrieving the file contents failsCopyright © 2015 Micro Focus GmbH. All rights reserved.