public class Util
extends java.lang.Object
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static LLRPBitList |
loadBinaryFileContent(java.io.File file)
loads a binary file from the file system and returns a LLRPBitList object
|
static LLRPMessage |
loadBinaryLLRPMessage(java.io.File file)
loads a binary LLRPMessage from the file system and returns an LLRPMessage object
|
static java.lang.String |
loadTextFileContent(java.io.File file)
loads a text file from the file system and returns the contents as a string
|
static LLRPMessage |
loadXMLLLRPMessage(java.io.File file)
loads a LLRPMessage in LTK-XML format from the file system and returns an LLRPMessage object
|
public static LLRPBitList loadBinaryFileContent(java.io.File file) throws java.io.IOException, java.io.FileNotFoundException
file
- java.io.IOException
java.io.FileNotFoundException
public static java.lang.String loadTextFileContent(java.io.File file) throws java.io.IOException, java.io.FileNotFoundException
file
- java.io.IOException
java.io.FileNotFoundException
public static LLRPMessage loadBinaryLLRPMessage(java.io.File file) throws java.io.FileNotFoundException, java.io.IOException, InvalidLLRPMessageException
file
- java.io.FileNotFoundException
java.io.IOException
InvalidLLRPMessageException
public static LLRPMessage loadXMLLLRPMessage(java.io.File file) throws java.io.FileNotFoundException, java.io.IOException, org.jdom.JDOMException, InvalidLLRPMessageException
file
- java.io.FileNotFoundException
java.io.IOException
InvalidLLRPMessageException
org.jdom.JDOMException
Copyright © 2007 ETH Zurich.