The Format of Properties Files"

From Documentation
m
Line 1: Line 1:
 
{{ZKDevelopersReferencePageHeader}}
 
{{ZKDevelopersReferencePageHeader}}
 +
 +
__TOC__
  
 
In this section, we discuss the content of a properties file, such as <tt>i3-label.properties</tt>.
 
In this section, we discuss the content of a properties file, such as <tt>i3-label.properties</tt>.
 +
 +
A properties file is a simple text file. The file contains a list of <tt>key=value</tt> pairs, such as
 +
 +
<source lang="text">
 +
# This is the default LabelsBundle.properties file
 +
s1=computer
 +
s2=disk
 +
s3=monitor
 +
s4=keyboard
 +
</source>
 +
 +
The default encoding of a properties file is assumed to be UTF-8. If you want to use a different encoding, please refer to [[#Use Encoding Other Than UTF-8|the Use Encoding Other Than UTF-8 section]].
  
 
=Specify a Value with Multiple Lines=
 
=Specify a Value with Multiple Lines=

Revision as of 07:30, 28 March 2011


The Format of Properties Files


In this section, we discuss the content of a properties file, such as i3-label.properties.

A properties file is a simple text file. The file contains a list of key=value pairs, such as

# This is the default LabelsBundle.properties file
s1=computer
s2=disk
s3=monitor
s4=keyboard

The default encoding of a properties file is assumed to be UTF-8. If you want to use a different encoding, please refer to the Use Encoding Other Than UTF-8 section.

Specify a Value with Multiple Lines

Use EL Expressions

Use Encoding Other Than UTF-8

Version History

Last Update : 2011/03/28


Version Date Content
     



Last Update : 2011/03/28

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.