Java Utililty Methods Unix Encode

List of utility methods to do Unix Encode

Description

The list of methods to do Unix Encode are organized into topic(s).

Method

String[]unixCommands(final String prefix)
unix Commands
return new String[] { "/bin/bash", prefix + "-script.sh" };
StringunixEncode(String string)
unix Encode
return changeNewlines(string, LF);
StringunixLineEndings(String text)
unix Line Endings
return text.replaceAll("\r\n?", "\n");
StringUnixNameFilter(String Name)
{ method
if (Name == null) {
    return (null);
return (Name.replace('\\', '/'));