Class FileProcessorUtils
java.lang.Object
net.thevpc.nsite.util.FileProcessorUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringextractWorkDir(String pathString, String defaultWorkdir) static byte[]static StringloadString(InputStream s, String encoding) static StringloadString(net.thevpc.nuts.io.NPath s) static StringloadString(net.thevpc.nuts.io.NPath s, String encoding) static voidmkdirs(net.thevpc.nuts.io.NPath parent) static String[]splitMimeTypes(String mt) static StringtoAbsolute(String pathString, String workingDir) static net.thevpc.nuts.io.NPathtoAbsolute(net.thevpc.nuts.io.NPath pathString, net.thevpc.nuts.io.NPath workingDir) static net.thevpc.nuts.io.NPathtoAbsolutePath(net.thevpc.nuts.io.NPath path, net.thevpc.nuts.io.NPath workingDir) static chartoHex(int nibble) static net.thevpc.nuts.io.NPathtoRealPath(net.thevpc.nuts.io.NPath path, net.thevpc.nuts.io.NPath workingDir)
-
Constructor Details
-
FileProcessorUtils
public FileProcessorUtils()
-
-
Method Details
-
mkdirs
public static void mkdirs(net.thevpc.nuts.io.NPath parent) -
extractWorkDir
-
toRealPath
public static net.thevpc.nuts.io.NPath toRealPath(net.thevpc.nuts.io.NPath path, net.thevpc.nuts.io.NPath workingDir) -
toAbsolutePath
public static net.thevpc.nuts.io.NPath toAbsolutePath(net.thevpc.nuts.io.NPath path, net.thevpc.nuts.io.NPath workingDir) -
toAbsolute
public static net.thevpc.nuts.io.NPath toAbsolute(net.thevpc.nuts.io.NPath pathString, net.thevpc.nuts.io.NPath workingDir) -
toAbsolute
-
loadString
-
loadString
-
loadString
-
splitMimeTypes
-
loadBytes
-
toHex
public static char toHex(int nibble)
-