Get Absolute Working Dir Path - Java File Path IO

Java examples for File Path IO:Path

Description

Get Absolute Working Dir Path

Demo Code


//package com.java2s;

import java.nio.file.Paths;

public class Main {
    public static String GetAbsoluteWorkingDirPath() {
        return Paths.get("").toAbsolutePath().toString();
    }//from   www .  ja va2  s. c  o  m
}

Related Tutorials