t3.utils.SortedProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of t3-common Show documentation
Show all versions of t3-common Show documentation
Utility classes for T³ projects
The newest version!
/**
* (C) Copyright 2016-2019 teecube
* (https://teecu.be) and others.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package t3.utils;
import org.apache.commons.io.FileUtils;
import org.apache.maven.model.Resource;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.shared.filtering.MavenResourcesExecution;
import t3.CommonMojo;
import java.io.*;
import java.math.BigInteger;
import java.util.*;
/**
*
* This class extends java.util.Properties with all properties sorted alphabetically. Also, the setProperty method is
* overridden to support multiple input types and check for null values.
*
*
* @author Mathieu Debove <[email protected]>
*
*/
public class SortedProperties extends Properties {
private static final long serialVersionUID = 3733070302160913988L;
@Override
public synchronized Enumeration
© 2015 - 2025 Weber Informatics LLC | Privacy Policy