public class FileUtils extends Object
Constructor and Description |
---|
FileUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
getCurrDirPathStr()
Get current dir (without resolving symlinks), and normalize path by calling FastPathResolver.resolve().
|
static boolean |
isClassfile(String path)
Returns true if path has a .class extension, ignoring case.
|
static byte[] |
readAllBytes(InputStream inputStream,
long fileSize,
LogNode log)
Read all the bytes in an InputStream.
|
public static String getCurrDirPathStr()
public static byte[] readAllBytes(InputStream inputStream, long fileSize, LogNode log) throws IOException
IOException
public static boolean isClassfile(String path)
Copyright © 2018. All rights reserved.