Package com.lampa.smi
Class SmiReader
- java.lang.Object
-
- com.lampa.smi.SmiReader
-
public class SmiReader extends java.lang.Object
smi reader
-
-
Constructor Summary
Constructors Constructor Description SmiReader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NvidiaSmiLogType
read()
read from systemstatic NvidiaSmiLogType
read(java.io.File file)
read from filestatic NvidiaSmiLogType
read(java.io.InputStream inputStream)
read from input streamstatic NvidiaSmiLogType
read(java.io.Reader reader)
read from io readerstatic NvidiaSmiLogType
read(java.lang.String string)
read from string
-
-
-
Method Detail
-
read
public static NvidiaSmiLogType read() throws jakarta.xml.bind.JAXBException, javax.xml.stream.XMLStreamException
read from system- Returns:
- NvidiaSmiLogType
- Throws:
jakarta.xml.bind.JAXBException
- error parse xmljavax.xml.stream.XMLStreamException
- error reader
-
read
public static NvidiaSmiLogType read(java.io.InputStream inputStream) throws jakarta.xml.bind.JAXBException, javax.xml.stream.XMLStreamException
read from input stream- Parameters:
inputStream
- InputStream- Returns:
- NvidiaSmiLogType
- Throws:
jakarta.xml.bind.JAXBException
- error parse xmljavax.xml.stream.XMLStreamException
- error reader
-
read
public static NvidiaSmiLogType read(java.io.File file) throws java.io.FileNotFoundException, jakarta.xml.bind.JAXBException, javax.xml.stream.XMLStreamException
read from file- Parameters:
file
- File- Returns:
- NvidiaSmiLogType
- Throws:
java.io.FileNotFoundException
jakarta.xml.bind.JAXBException
- error parse xmljavax.xml.stream.XMLStreamException
- error reader
-
read
public static NvidiaSmiLogType read(java.lang.String string) throws jakarta.xml.bind.JAXBException, javax.xml.stream.XMLStreamException
read from string- Parameters:
string
- xml- Returns:
- NvidiaSmiLogType
- Throws:
jakarta.xml.bind.JAXBException
- error parse xmljavax.xml.stream.XMLStreamException
- error reader
-
read
public static NvidiaSmiLogType read(java.io.Reader reader) throws javax.xml.stream.XMLStreamException, jakarta.xml.bind.JAXBException
read from io reader- Parameters:
reader
- Reader- Returns:
- NvidiaSmiLogType
- Throws:
javax.xml.stream.XMLStreamException
- error readerjakarta.xml.bind.JAXBException
- error parse xml
-
-