Example usage for org.apache.wicket.util.string StringValue valueOf

List of usage examples for org.apache.wicket.util.string StringValue valueOf

Introduction

In this page you can find the example usage for org.apache.wicket.util.string StringValue valueOf.

Prototype

public static StringValue valueOf(final String string, final Locale locale) 

Source Link

Document

Converts the given input to an instance of StringValue.

Usage

From source file:eu.esdihumboldt.hale.server.projects.war.components.UploadForm.java

License:Open Source License

private static String unitString(final double value, final String units, final Locale locale) {
    return StringValue.valueOf(value, locale) + " " + units;
}