Install the complete package with local command reference and every published mode.
install propertiesproperties.properties files as keys and values, understands continued lines, and exposes dotted names as convenient paths for search and focused edits.
database.host is convenient to address as a path, but the file on disk remains a flat key=value lines, so use a text editor when comments or exact layout must be preserved.
properties <file> [key|options] · properties dump <file>properties <file>show
properties <file> <key>show one exact dotted path
properties dump <file>show normalized
-f <text|mask> [-k|-v]find matching keys or values; * and ? enable a mask
-w <key> : <value>write a value directly to the file
-w <key> < <file>write a value read from another file
-d <key>delete a value by dotted path
-cvalidate the
Start with database.host to read one value. -f searches paths and values, while -k searches only key paths and -v only values. Ordinary text matches without case sensitivity; * and ? make a whole-field mask. Check syntax with -c and view the reconstructed file with dump.
Use -w <key> : <value> to change one value immediately, or -w <key> < <file> to read it from another file. -d <key> deletes a path. An unquoted true, false or number may be interpreted as a typed value; use care with strings that look like numbers. Make a copy before writing. $ refers to the most recently opened file in Core; a filename alone may invoke its registered handler.
The reader handles simple = or : separators, comments beginning with # or !, and continuations; dotted names become paths. Values are read as text, not as booleans or numbers. Escapes, Unicode conventions and layout are not preserved like a complete Java
Run the prepared examples directly on the page. Their results are prebuilt and shown in the browser; no terminal command is executed on the server.
Install the current compatible version. Choose Base for the complete feature set or Minimum for the reduced package; use upgrade to update a module that is already installed.
Base and Minimum are two packages of the same current module release, not separate command versions.
Install the complete package with local command reference and every published mode.
install propertiesInstall the reduced package. Local reference is omitted;
install properties -mInstall exactly this published version.
install properties -v 1.1.6Ask upgrade to check compatibility and replace the installed block only when needed.
upgrade propertiesRemove the extension block while leaving the core and unrelated modules intact.
install properties -uExamples are copyable command lines, not actions executed by this website. Review paths, permissions and destructive flags before running them on a real project.
cd \sandbox\config | properties app.propertiesapplication.name lil-shop
application.debug true
database.host localhost
database.port 3306properties config/app.propertiesapplication.name lil-shop
application.debug true
database.host localhost
database.port 3306properties config/app.properties database.hostlocalhostproperties config/app.properties application.debugtrueproperties config/app.properties -f "database.*" -kdatabase.host localhost
database.port 3306properties config/app.properties -f "localhost" -vdatabase.host localhostproperties config/app.properties -f "debug"application.debug trueproperties config/app.properties -w database.port : 3307database.port 3307properties config/app.properties -w application.name < config/plain-value.txtapplication.name demo-siteproperties config/app.properties -d application.debugapplication.name lil-shop
database.host localhost
database.port 3306properties config/app.properties -cValid propertiesproperties dump config/app.propertiesapplication.name=lil-shop
application.debug=true
database.host=localhost
database.port=3306properties config/app.properties unknown.keyPath not foundproperties config/duplicate.properties -cDuplicate properties keyproperties config/missing.propertiesFile not foundproperties config/app.properties -w database.portValue required after : or sandbox/config/app.propertiesThe example uses a file or directory from the protected /sandbox/ documentation workspace.
application.name=lil-shop
application.debug=true
database.host=localhost
database.port=3306
Current stable release of