Kajabity.Tools.Java 0.4.0

dotnet add package Kajabity.Tools.Java --version 0.4.0
                    
NuGet\Install-Package Kajabity.Tools.Java -Version 0.4.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Kajabity.Tools.Java" Version="0.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Kajabity.Tools.Java" Version="0.4.0" />
                    
Directory.Packages.props
<PackageReference Include="Kajabity.Tools.Java" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Kajabity.Tools.Java --version 0.4.0
                    
#r "nuget: Kajabity.Tools.Java, 0.4.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Kajabity.Tools.Java@0.4.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Kajabity.Tools.Java&version=0.4.0
                    
Install as a Cake Addin
#tool nuget:?package=Kajabity.Tools.Java&version=0.4.0
                    
Install as a Cake Tool

Kajabity.Tools.Java - Java Properties Utilities

CI CodeQL NuGet NuGet Downloads GitHub Release License: Apache 2.0

Overview

Kajabity.Tools.Java is a collection of utility classes for reading and writing Java-style .properties files in .NET applications.

This repository contains several sub-projects:

  • Kajabity.Tools.Java – a DLL project providing the JavaProperties classes for .NET projects.

  • Kajabity.Tools.Java.Test – NUnit tests for the Kajabity.Tools.Java classes.

See the Releases section on GitHub to download source code, DLLs, executables, and NuGet packages.

The Kajabity.Tools.Java DLL is a strongly named assembly and is available from nuget.org as Kajabity.Tools.Java.

Features

The JavaProperties class wraps a Dictionary<string, string> to provide the following additional features:

  • Load Java properties from a Stream into a Dictionary<string, string>.

  • Load Java properties from a Stream using an alternate encoding (e.g. Unicode), making it easier to support languages with non-ASCII character sets.

  • Store Java properties from a Dictionary<string, string> to a Stream.

  • Support default properties (as with the Java Properties class) using the second constructor, which accepts a Dictionary<string, string> of defaults.

  • Coerce property keys and values to strings, matching Java properties behaviour.

Usage

Full documentation is available at: https://www.kajabity.com/kajabity-tools/java-properties-classes/

Releases

Latest GitHub Release: View on GitHub

Latest NuGet Package: View on NuGet.org

Feedback & Contributions

Contributions and feedback are welcome if you notice anything that could be improved.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.8

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.
  • net10.0

    • No dependencies.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Kajabity.Tools.Java:

Package Downloads
Axle.Text.Documents.Properties

Package Description

Axle.Resources.Java

Axle Framework resources library to handle Java properties

VampireApi

This library enables working with .net as Java like programming code.

Axle.Text.Data.Properties

Package Description

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Kajabity.Tools.Java:

Repository Stars
dotnet/android
.NET for Android provides open-source bindings of the Android SDK for use with .NET managed languages such as C#
Version Downloads Last Updated
0.4.0 0 1/23/2026
0.3.8895.38751 9,545 5/9/2024
0.3.8607.38728 7,184 7/26/2023
0.3.7879.40798 43,394 7/28/2021
0.3.7866.40692 575 7/15/2021
0.3.7789.39267 5,052 4/29/2021
0.3.7788.36665 537 4/28/2021
0.3.7592.36961 6,791 10/14/2020
0.3.7495.37746 1,392 7/9/2020
0.2.7491.37864 795 7/5/2020
0.2.7491.34997 799 7/5/2020
0.2.7490.37169 779 7/4/2020
0.2.7490.37146 795 7/4/2020
0.2.7490.17186 791 7/4/2020
0.2.7489.40039 823 7/3/2020
0.2.7489.39542 664 7/3/2020
0.2.7489.39421 651 7/3/2020
0.2.6862.30334 131,488 10/15/2018
0.2.6852.14616 1,024 10/5/2018
0.2.6638.28124 4,434 3/5/2018
0.2.6617.25439 1,565 2/12/2018
0.1.6264.42171 2,780 2/24/2017
0.1.6258.42784 1,380 2/18/2017
0.1.6258.41587 1,623 2/18/2017
0.1.6258.41222 1,817 2/18/2017