com.microfocus.awm.model.toolexecution

## Interface IFileData

- All Known Implementing Classes:
    FileData

      public interface IFileData

  Holds the contents of a file described by a `FileDescriptor`.
  Author:
    Micro Focus

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    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.

- - ### Method Detail

    - #### getPropertyData

          IPropertyData getPropertyData()
                                 throws TaurusCoreException

      Returns the parsed contents of a structured file. It calls `IStructureType.readStructure(FileDescriptor, String)` of the file descriptors structure type.
      Returns:
        the structured file's contents mapped to properties according to the file descriptors `IStructure`
      Throws:
        `TaurusCoreException` -
        - If parsing a structured file descriptor fails.
        - If the file descriptor is unstructured.
        - If the file descriptor's `IStructureType` cannot be found or is invalid.

    - #### getRawContents

          IGetDataResponse getRawContents()
                                   throws TaurusCoreException

      Gets the raw, unparsed contents of the file descriptor.
      Returns:
        the file contents
      Throws:
        `TaurusCoreException` - if retrieving the file contents fails

Copyright © 2015 Micro Focus GmbH. All rights reserved.