Project

General

Profile

Actions

Support Request #1165

closed

ADTFS-47678 Behavior of ADTF File Library regarding EDS/Attached Files and Referenced Files

Added by hidden almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Customer:
ELEKTROBIT
Department:
SUPPORT
Requester's Priority:
Normal
Support Level:
3rd Level
Resolution:
Solved Issue
Product Issue Numbers:
Platform:
Windows 7 64bit
Topic:
FileLibrary::Common
FAQ Links:

Description

Supportanfrage:

We need to know how the ADTF File library behaves on the following points (check these points for ADTF 2 and 3 DATs):

  • Extraction/reading of extended data, with
    • either created via the EDS (Extended Data Service in ADTF 2, should usually contain only files).
    • or created via code (not using the EDS, can contain files or memory blocks).
  • How does the ADTF File library read DATs which linked to other DATs
    • Created with two or more HDRecorders.
    • Behavior with split files which are just generated with one recorder.
    • Combination of both (more than on recorder and split files).
    • In case of split files, when not the first file of a split DAT is given to the ADTF File library

Danke und Grüße,
Anja

EB Assist ADTF Support-Team
---------------------

Lösung:

Die File Library kann ADTF 3 und ADTF 2 Files schreiben, sowie alle ADTF File Varianten lesen.

Coming Soon:
  • DDL Unterstützung zur description Datei Erzeugung
  • Vollständige Dokumentation
  • Weitere Beispiele

Zum Thema EDS (ADTF 2.x) und Attached Files (ADTF 3.x):
Das wird in der aktuellen Version der File Lib noch nicht unterstützt, es kann lediglich auf die Extensions zugegriffen werden.

Thema referenzierte Files:
Das wird (und wurde auch in der Streaming Lib) nicht automatisch aufgelöst, zumindest soweit ich damit Berührung hatte.
Es wird immer ein File alleine betrachtet, mittels Extensions können Abhängigkeiten (Split, Referenced Files) ermittelt werden und dann diese Files geöffnet werden. Für die Referenced Files gibt es die Klasse "ReferencedFilesExtension" mit der man die Extension interpretieren kann.

In ADTF 3 sind die attached files ein tar.gz Archiv, dass man einfach mit adtf_datdump extrahieren kann, das ist auch in der Hilfe von ADTF 3 beschrieben:

adtf_datdump -extractextension=attached_files <adtfdat file> | tar xz

Actions

Also available in: Atom PDF