Get file system Default Separator - Java File Path IO

Java examples for File Path IO:File Path

Description

Get file system Default Separator

Demo Code

import java.nio.file.FileSystems;


public class Useful {
    public static void main(String[] args) {
        System.out.println(FileSystems.getDefault().getSeparator());
    }/*w  w w .j ava 2  s .com*/
}

Related Tutorials