domingo, 26 de junio de 2011

PathActual


Esto nos regresa el path en el cual estamos trabajando actualmente

  public static String appPath(){
        return System.getProperty("user.dir");
    }

Ejemplo:

String path = appPath().toString()+ "/archivo.ext";

No hay comentarios:

Publicar un comentario

Gracias por su comentario.