Class WrapperUtility


  • public class WrapperUtility
    extends Object
    The Class WrapperUtility.
    Author:
    Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it Oct 17, 2018
    • Constructor Detail

      • WrapperUtility

        public WrapperUtility()
    • Method Detail

      • toInputStream

        public static InputStream toInputStream​(byte[] content)
        To input stream.
        Parameters:
        content - the content
        Returns:
        the input stream
      • getInfrastructureNameFromScope

        public static String getInfrastructureNameFromScope​(String scope)
                                                     throws Exception
        Gets the infrastructure name from scope.
        Parameters:
        scope - the scope
        Returns:
        the infrastructure name from scope
        Throws:
        Exception - the exception