01: /*
02: * @(#) IntegerConverter.java
03: *
04: * Copyright 2002 - 2003 JIDE Software. All rights reserved.
05: */
06: package com.jidesoft.converter;
07:
08: /**
09: * Converter which converts String to String and converts it back.
10: */
11: public class StringConverter extends DefaultObjectConverter {
12: /**
13: * ConverterContext if the String is a file name.
14: */
15: public static ConverterContext CONTEXT_FILENAME = new ConverterContext(
16: "String.FileName");
17:
18: /**
19: * ConverterContext if the String is a multiple line text.
20: */
21: public static ConverterContext CONTEXT_MULTILINE = new ConverterContext(
22: "String.Multiline");
23: }
|