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 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 因为用户可以redirect standard output,那在java程序里面怎么知道任意时刻System
: .out是指向哪里。
: 谢谢。
System
【在 d**c 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 因为用户可以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 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 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 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: http://www.google.com/search?aq=f&sourceid=chrome&ie=UTF-8&q=re
:
: System
相关阅读
两个offer比较~求助: 有人知道金属材料工程这个专业么?请教各位大牛,如何能把Malvern粒径仪里的数据导出来?请问如果读博士没能毕业,得到的硕士学位证会和本来就是读硕士的人得到的学位证一样吗?谁给推荐下做什么方向的光电材料好?(欢迎)operation research 的薄厚,转向工业界可能性大么?postdoc position in uconn,usa九月过来读本科,大家说说是Drexel Univ, UMN 还是 Purdue??有一本新的结构动力学的经典书(english)去哪里卖掉?低价出售求一篇paper 十分感谢!转专业,大家给个参考~~~公派研究生(联合培养博士生)at Pennsylvania State University (USA)请问美国有没有科学哲学方面的聚会呀,就像教堂那样。怎样找实习?CS PHD选校求助ND or UICTMS会议旅馆寻人合租求助:学机器人能够找什么工作Need I.E. Tutor西北工业大学航空学院高水平人才招聘公告Impact factor 1.689的杂志是啥档次啊?rt