Class Utilities


  • public class Utilities
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String entryToAsciiString​(Entry entry)
      Convert bytes in an Entry to a 7-bit ASCII string.
      static byte[] toByteArray​(java.io.InputStream inputStream)
      Utility method to read all bytes from an InputStream.
      • Methods inherited from class java.lang.Object

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

      • toByteArray

        public static byte[] toByteArray​(java.io.InputStream inputStream)
                                  throws java.io.IOException
        Utility method to read all bytes from an InputStream.
        Throws:
        java.io.IOException
      • entryToAsciiString

        public static java.lang.String entryToAsciiString​(Entry entry)
        Convert bytes in an Entry to a 7-bit ASCII string. Emphasis on 7-bit in case Apple II high bit is along for the ride.