C*3
2 楼
国内一好友,目前大学副教授,正在积极寻找计算机、自动化、电子工程等领域的美国
访问学者的交流机会,他尤其精通软件开发和自动化硬件设计。
如果您或朋友正有此机会,请私信我,或者联系西南大学杨教授
[email protected]
/* */
MOBILE(86) 1388-3737-789
谢谢
访问学者的交流机会,他尤其精通软件开发和自动化硬件设计。
如果您或朋友正有此机会,请私信我,或者联系西南大学杨教授
[email protected]
/* */
MOBILE(86) 1388-3737-789
谢谢
m*u
3 楼
http://www.google.com/search?aq=f&sourceid=chrome&ie=UTF-8&q=re
System
【在 d**c 的大作中提到】
: 因为用户可以redirect standard output,那在java程序里面怎么知道任意时刻System
: .out是指向哪里。
: 谢谢。
System
【在 d**c 的大作中提到】
: 因为用户可以redirect standard output,那在java程序里面怎么知道任意时刻System
: .out是指向哪里。
: 谢谢。
d*c
5 楼
谢谢回答。
但这不是我的问题。我知道java如何redirect System.out,问题是如何用程序来知道
System.out指向哪里。
用伪代码来说明我的问题:
PrintStream ps = System.getOut();
if (ps instance of ConsoleStream)
{
// it is default stdout
}
else if (ps instance of FileOutputStream)
{
// find its file name/full path
}
else if (ps instance of Some-Other-Kind-Of-Output-Stream)
{
// find its storage
}
else
...
【在 m*****u 的大作中提到】
: http://www.google.com/search?aq=f&sourceid=chrome&ie=UTF-8&q=re
:
: System
但这不是我的问题。我知道java如何redirect System.out,问题是如何用程序来知道
System.out指向哪里。
用伪代码来说明我的问题:
PrintStream ps = System.getOut();
if (ps instance of ConsoleStream)
{
// it is default stdout
}
else if (ps instance of FileOutputStream)
{
// find its file name/full path
}
else if (ps instance of Some-Other-Kind-Of-Output-Stream)
{
// find its storage
}
else
...
【在 m*****u 的大作中提到】
: http://www.google.com/search?aq=f&sourceid=chrome&ie=UTF-8&q=re
:
: System
相关阅读
一个关于泵的问题 (转载)工程师找工作可以试试SNC-Lavalin (转载)转学是第一年好还是第二年好?申请成立化学工程版 (转载)Master/PhD Univ. of Newcastle欢迎参加北京化工大学赴明尼苏达大学人才招聘会!!ZZ Top 10 Starting Salaries by College Major (转载)有人愿意联名给NCEES写信,抵制CPEES吗?R&D Positions in Combustion and Fluid Dynamics (Boston, MA)咋就没有Software的学科版面呢?急问,谁知道physical design 是什么东东?NCEES的学历评估请问, 谁有武汉水利电力大学周瑾茹老师的电话?西雅图附近的燃烧/流体/传热方面的工作。 what is PE/FE?H1B下周生效,但有急事要回国一段时间 (转载)baobiao征11月份同去西雅图参加informs的女生paper help (转载)安全工程就业如何?