Please advise why this is not working, I am sure you can figure out what I am trying to do here:
            while (socketChannel.read(buffer) > 0) {
            buffer.flip();
            fileChannel.write(buffer);
            buffer.clear();
            bigDecimal = bigDecimal.add(kilobyteDecimal);
            System.out.print("\\ \r"+"| \r"+"/ \r"+"-- \r");
        }
expecting to see rotating characters but instead I am getting a new line in every print statement.
Many Thanks