我想缩进属性文件中的内容。
例如:
This is center aligned title
This is my first line
This is my second line
我可以使用 '\n'
将行彼此分开,但是,我不明白如何居中对齐我的第一行。
'\t'
参数似乎也没有帮助。
最佳答案
所以只需尝试以下模式:
# This will be centered
property1=Value1
property2=Value2
property3=Value3
property4=Value4
关于java - 如何在java中缩进属性文件中的内容,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22790582/