Class UnixZfsParseResponse

  • All Implemented Interfaces:
    JsonParseResponse

    public final class UnixZfsParseResponse
    extends Object
    implements JsonParseResponse
    Extract UNIX zfs from json response
    Version:
    2.0
    Author:
    Frank Giordano
    • Method Detail

      • getInstance

        public static JsonParseResponse getInstance()
        Get singleton instance
        Returns:
        UnixZfsParseResponse object
      • setModeStr

        public void setModeStr​(String modeStr)
        Special field that holds a String comma delimited with mode permission values. Value is parsed by parent calling and set here to be included in main parse object done in parseResponse() method.
        Parameters:
        modeStr - mode permission(s) string value
      • setJsonObject

        public JsonParseResponse setJsonObject​(org.json.simple.JSONObject data)
        Set the data to be parsed
        Specified by:
        setJsonObject in interface JsonParseResponse
        Parameters:
        data - json data to parse
        Returns:
        JsonParseResponse this object