au.edu.archer.service.ddm.helper
Class MetadataExtractorServiceHelper

java.lang.Object
  extended by au.edu.archer.service.ddm.helper.MetadataExtractorServiceHelper

public class MetadataExtractorServiceHelper
extends java.lang.Object

Helper class for MetadataExtractorService.


Constructor Summary
MetadataExtractorServiceHelper()
           
 
Method Summary
 int makeIntFromByte2(byte[] b)
          Get int from Byte2.
 int makeIntFromByte4(byte[] b)
          Get int from Byte4.
 java.lang.String makeXML(java.lang.String elementName, java.lang.String value)
          Convert Name and value pair to XML format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataExtractorServiceHelper

public MetadataExtractorServiceHelper()
Method Detail

makeIntFromByte4

public int makeIntFromByte4(byte[] b)
Get int from Byte4.

Parameters:
b - Byte Array to be converted.
Returns:
int Make int From Byte 4.

makeIntFromByte2

public int makeIntFromByte2(byte[] b)
Get int from Byte2.

Parameters:
b - Byte Array to be converted.
Returns:
int Make int From Byte 2.

makeXML

public java.lang.String makeXML(java.lang.String elementName,
                                java.lang.String value)
Convert Name and value pair to XML format.

Parameters:
elementName - Element Name to be converted.
value - Element Value to be converted.
Returns:
String String representation of Element name and value.


Copyright © 2008-09 Monash University. All Rights Reserved.