com.google.code.play.OrderSafeProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of play-maven-plugin Show documentation
Show all versions of play-maven-plugin Show documentation
Maven Plugin for Play! Framework for integration of these two very different worlds
package com.google.code.play;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.Collections;
import java.util.Enumeration;
import java.util.LinkedHashSet;
import java.util.Map;
import java.util.Properties;
import java.util.Set;
import org.apache.commons.lang.StringEscapeUtils;
/**
* Custom implementation of java.util.Properties that preserves the key-order from the file
* and that reads the properties-file in UTF-8.
*/
public class OrderSafeProperties
extends Properties
{
// set used to preserve key order
private final LinkedHashSet
© 2015 - 2025 Weber Informatics LLC | Privacy Policy