|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.llrp.ltk.util.Util
public class Util
Util.java provides a number of utility methods such loading a binary message or XML message from a file.
| Constructor Summary | |
|---|---|
Util()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Util()
| Method Detail |
|---|
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||