All Methods Static Methods Concrete Methods Deprecated Methods
| Modifier and Type |
Method and Description |
static boolean |
Arrays_equals(byte[] a,
int aFromIndex,
int aToIndex,
byte[] b,
int bFromIndex,
int bToIndex) |
static Set<CopyOption> |
asCopyOptions(Set<NPathOption> noptions) |
static String |
betterPath(String path1) |
static BufferedReader |
bufferedReaderOf(byte[] bytes) |
static String |
buildUrl(String url,
String path) |
static String |
concatPath(String... all) |
static Stream<String> |
confLines(InputStream stream) |
static Stream<String> |
confLines(Reader stream) |
static OutputStream |
convertOutputStream(OutputStream out,
NTerminalMode expected,
NSystemTerminalBase term)
Deprecated.
|
static ExtendedFormatAware |
convertOutputStreamToExtendedFormatAware(OutputStream out,
NTerminalMode expected,
NSystemTerminalBase term)
Deprecated.
|
static InputStream |
createBytesStream(byte[] bytes,
NMsg message,
String contentType,
String encoding,
String kind) |
static NContentMetadata |
createContentMetadata(Object... any) |
static DefaultNContentMetadata |
defaultNutsInputSourceMetadata(InputStream is) |
static String |
ensureLeadingSlash(String s) |
static InputStream |
getCachedUrlWithSHA1(String path,
String sourceTypeName,
boolean ignoreSha1NotFound) |
static String |
getNewLine() |
static boolean |
isFileProtocol(String s) |
static boolean |
isHttpUrl(String s) |
static boolean |
isObsoleteInstant(Instant instant) |
static boolean |
isObsoletePath(NPath path) |
static boolean |
isObsoletePath(Path path) |
static boolean |
isValidConfLine(String line) |
static Stream<String> |
lines(InputStream stream) |
static Stream<String> |
lines(Reader reader) |
static byte[] |
loadFileContentLenient(Path out) |
static String |
longestCommonParent(String path1,
String path2) |
static String |
metadataToString(NContentMetadata md,
Object caller) |
static NOptional<InputStream> |
openStream(URL u) |
static String |
replaceFilePrefix(String path,
String prefix,
String replacement) |
static String |
replaceFilePrefixes(String path,
Map<String,String> map) |
static File |
resolveLocalFileFromResource(Class cls,
String url) |
static File |
resolveLocalFileFromURL(URL url) |
static Path |
resolveLocalPathFromURL(URL url) |
static NPrintStream |
resolveOut() |
static String |
resolveRepositoryPath(NAddRepositoryOptions options,
Path rootFolder) |
static URL |
resolveURLFromResource(Class cls,
String urlPath) |
static NStream<String> |
safeLines(byte[] bytes) |
static Path |
toPathInputSource(NInputSource is,
List<Path> tempPaths,
boolean enforceExtension) |
static PrintWriter |
toPrintWriter(OutputStream writer,
NSystemTerminalBase term)
Deprecated.
|
static PrintWriter |
toPrintWriter(Writer writer,
NSystemTerminalBase term)
Deprecated.
|
static PathInfo.Status |
tryWrite(byte[] content,
NPath out,
DoWhenExist doWhenExist,
DoWhenNotExists doWhenNotExist,
String rememberMeKey) |
static PathInfo.Status |
tryWrite(byte[] content,
NPath out,
String rememberMeKey) |
static PathInfo.Status |
tryWriteStatus(byte[] content,
NPath out,
String rememberMeKey) |
static String |
urlEncodeString(String s) |
static URL |
urlOf(String any) |
static NExecOutput |
validateErr(NExecOutput err) |
static NExecInput |
validateIn(NExecInput in) |
static NExecOutput |
validateOut(NExecOutput out) |