Class InplaceFileConverter


  • public class InplaceFileConverter
    extends java.lang.Object
    • Method Detail

      • readIntoByteArray

        private byte[] readIntoByteArray​(java.io.File file)
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • convert

        void convert​(java.io.File file)
              throws java.io.IOException
        Throws:
        java.io.IOException
      • writeConvertedBytesIntoFile

        private void writeConvertedBytesIntoFile​(java.io.File file,
                                                 byte[] convertedBytes)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • convertIntoTempByteArray

        private byte[] convertIntoTempByteArray​(byte[] input)
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • writeReplacement

        private void writeReplacement​(java.io.OutputStream os,
                                      java.lang.String[] replacement)
                               throws java.io.IOException
        Throws:
        java.io.IOException