Class CheckUtil


  • public class CheckUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      CheckUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean checkString​(byte[] arr, int offset, java.lang.String string)  
      static boolean checkTrailingSpaces​(java.io.InputStream input, java.lang.StringBuilder sb)  
      static int readBytes​(java.io.InputStream in, byte[] b, int off, int len)  
      • Methods inherited from class java.lang.Object

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

      • CheckUtil

        public CheckUtil()
    • Method Detail

      • checkString

        public static boolean checkString​(byte[] arr,
                                          int offset,
                                          java.lang.String string)
      • checkTrailingSpaces

        public static boolean checkTrailingSpaces​(java.io.InputStream input,
                                                  java.lang.StringBuilder sb)
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • readBytes

        public static int readBytes​(java.io.InputStream in,
                                    byte[] b,
                                    int off,
                                    int len)
                             throws java.io.IOException
        Throws:
        java.io.IOException