android inventory agent 1.0.0

Code documentation

--- layout: codeDocumentation --- --- layout: codeDocumentation --- UtilsAgent
org.glpi.inventory.agent.utils

Class UtilsAgent

  • java.lang.Object
    • org.glpi.inventory.agent.utils.UtilsAgent


  • public class UtilsAgent
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      UtilsAgent() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.lang.String convertStreamToString(java.io.InputStream is) 
      static java.lang.String getXml(java.lang.String fileName, android.content.Context context) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UtilsAgent

        public UtilsAgent()
    • Method Detail

      • getXml

        public static java.lang.String getXml(java.lang.String fileName,
                                              android.content.Context context)
        Parameters:
        fileName - name of the xml to extract
        context -
        Returns:
        string xml
      • convertStreamToString

        public static java.lang.String convertStreamToString(java.io.InputStream is)
                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
Back to top