类 ByteUtils

java.lang.Object
com.deepoove.poi.util.ByteUtils

public final class ByteUtils extends Object
  • 构造器详细资料

    • ByteUtils

      public ByteUtils()
  • 方法详细资料

    • getUrlByteArray

      public static byte[] getUrlByteArray(String urlPath)
    • getLocalByteArray

      public static byte[] getLocalByteArray(File res)
    • getBase64ByteArray

      public static byte[] getBase64ByteArray(String base64)
    • toByteArray

      public static byte[] toByteArray(InputStream is)
    • getUrlStream

      public static InputStream getUrlStream(String urlPath) throws IOException
    • startsWith

      public static boolean startsWith(byte[] bytes, byte[] prefix)
    • endsWith

      public static boolean endsWith(byte[] bytes, byte[] suffix)