开发者

printstream losing characters after slash

开发者 https://www.devze.com 2023-03-09 20:36 出处:网络
I\'m doing something like this PrintStream actualStdout = new PrintStream(new FileOutputStream(FileDes开发者_开发知识库criptor.out))

I'm doing something like this

PrintStream actualStdout = new PrintStream(new FileOutputStream(FileDes开发者_开发知识库criptor.out))

and then all of my logging is like

actualStdout.println(message)

(don't ask why)

I see a problem in my IDE when I try to print a string with slashes, such as a url.

http://somehostcom/somepath comes out as http:/somehost.com/omepath

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号