Java Root Directory Get getRoot()

Here you can find the source of getRoot()

Description

Returns the root location of the CraftBukkit server.

License

Open Source License

Return

The current working directory.

Declaration

public static File getRoot() 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.io.File;

public class Main {
    /**//from  w  w  w . j av  a 2s.  com
     * Returns the root location of the CraftBukkit server.
     *
     * @return The current working directory.
     */
    public static File getRoot() {
        return new File(".");
    }
}

Related

  1. getRoot()
  2. getRoot()
  3. getRoot()
  4. getRoot()
  5. getRoot()