How to change "\\r\\n" to line separator in java
===

I am working on a school project to build a pseudo terminal and file system. The terminal is scanning System.in and pass the string to controller. When I do `echo someline\r\nsomeotherline > file` java will escape it to be `"someline\\r\\nsomeotherline"`. Is there something like python's raw string to let java know that the `"\r\n"` is indeed the windows line separator, not some backlash and r. 

Here is the code I tried

    Scanner systemIn = Scanner(System.in);
    input = systemIn.nextLine();
    input = input.replaceAll("\\r\\n",System.getProperty("line.separator"));

Any idea how to do that?