Project Wonder 5.0

er.attachment.metadata
Class ERUnparsedMetadataDirectory

java.lang.Object
  extended by er.attachment.metadata.ERUnparsedMetadataDirectory
All Implemented Interfaces:
IERMetadataDirectory

public class ERUnparsedMetadataDirectory
extends java.lang.Object
implements IERMetadataDirectory

An ERUnparsedMetadataDirectory represents a byte stream of metadata from an image file that needs to be processed to be converted into real metadata.

Author:
mschrag

Field Summary
 
Fields inherited from interface er.attachment.metadata.IERMetadataDirectory
EXIF, IPTC, JFIF, PDF, TIFF
 
Constructor Summary
ERUnparsedMetadataDirectory(java.io.File file, java.lang.String directoryName, byte[] metadata)
          Constructs a new unparsed metadata stream.
 
Method Summary
 java.lang.String getDirectoryName()
          Returns the name of the directory that this byte stream corresponds to.
 java.io.File getFile()
          Returns the original image file.
 byte[] getMetadata()
          Returns the metadata byte stream
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ERUnparsedMetadataDirectory

public ERUnparsedMetadataDirectory(java.io.File file,
                                   java.lang.String directoryName,
                                   byte[] metadata)
Constructs a new unparsed metadata stream.

Parameters:
file - the original file
directoryName - the name of the directory
metadata - the metadata stream
Method Detail

getFile

public java.io.File getFile()
Returns the original image file.

Returns:
the original image file

getDirectoryName

public java.lang.String getDirectoryName()
Returns the name of the directory that this byte stream corresponds to.

Specified by:
getDirectoryName in interface IERMetadataDirectory
Returns:
the name of the directory that this byte stream corresponds to

getMetadata

public byte[] getMetadata()
Returns the metadata byte stream

Returns:
the metadata byte stream

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.