Java Is Windows isWindows()

Here you can find the source of isWindows()

Description

is Windows

License

Apache License

Declaration

private static boolean isWindows() 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import java.io.File;

public class Main {
    private static boolean isWindows() {
        return File.separatorChar == '\\';
    }/*from  www.  java2s . co m*/
}

Related

  1. isWindows()
  2. isWindows()
  3. isWindows()
  4. isWindows()