io.fabric8.forge.devops.springboot

Class IOHelper



  • public class IOHelperextends Object
    • Constructor Detail

      • IOHelper

        public IOHelper()
    • Method Detail

      • loadText

        public static String loadText(InputStream in)                       throws IOException
        Loads the entire stream into memory as a String and returns it.

        Notice: This implementation appends a \n as line terminator at the of the text.

        Warning, don't use for crazy big streams :)

        Throws:
        IOException
      • close

        public static void close(Closeable closeable)
        Closes the given resource if it is available, logging any closing exceptions to the given log.
        Parameters:
        closeable - the object to close

Copyright © 2016 Red Hat. All rights reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14