FileDocCategorySizeDatePackage
SysDep.javaAPI DocExample526Fri Oct 15 15:43:26 BST 1999None

SysDep

public class SysDep extends Object
Some things that are System Dependent. All methods are static, like java.lang.Math.
author
Ian Darwin
version
$Id: SysDep.java,v 1.1 1999/10/15 18:43:27 ian Exp $

Fields Summary
Constructors Summary
Methods Summary
public static java.lang.StringgetDevNull()
Return the name of the Null device on platforms which support it, or "jnk" otherwise.

		String sys = System.getProperty("os.name");
		if (sys==null || sys.indexOf("Mac") >= 0)
			return "jnk";
		if (sys.startsWith("Windows"))
			return "NUL:";
		return "/dev/null";