S
shea martin
getLoginName() getHomeDir() getHostName()
Are there any functions in the Java API that acomplish the above? I
know I could probably use System.getenv(), USER/LOGNAME, HOME, HOSTNAME,
but these variables are not always reliable, escpecially on windows
where they only exist if the user sets them.
I have only recently returned to the world of java (after a 4 year LOA),
but in the meantime I have been using Qt. Qt is x-platform and provides
these functions, so I am sure that java does as well. But my googles
kept turning up JSP and Jscript stuff.
Thanks,
~S
Are there any functions in the Java API that acomplish the above? I
know I could probably use System.getenv(), USER/LOGNAME, HOME, HOSTNAME,
but these variables are not always reliable, escpecially on windows
where they only exist if the user sets them.
I have only recently returned to the world of java (after a 4 year LOA),
but in the meantime I have been using Qt. Qt is x-platform and provides
these functions, so I am sure that java does as well. But my googles
kept turning up JSP and Jscript stuff.
Thanks,
~S