hudson.util
Class StringConverter2
java.lang.Object
com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter
hudson.util.StringConverter2
- All Implemented Interfaces:
- com.thoughtworks.xstream.converters.ConverterMatcher, com.thoughtworks.xstream.converters.SingleValueConverter
Deprecated. since 2009-11-06
Use HeapSpaceStringConverter instead.
@Deprecated
public class StringConverter2
- extends com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter
The default StringConverter in XStream
uses String.intern(), which stresses the
(rather limited) PermGen space with a large XML file.
Use this to avoid that (instead those strings will
now be allocated to the heap space.)
- Author:
- Kohsuke Kawaguchi
| Methods inherited from class com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter |
toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringConverter2
public StringConverter2()
- Deprecated.
canConvert
public boolean canConvert(Class type)
- Deprecated.
- Specified by:
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher- Specified by:
canConvert in class com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter
fromString
public Object fromString(String str)
- Deprecated.
- Specified by:
fromString in interface com.thoughtworks.xstream.converters.SingleValueConverter- Specified by:
fromString in class com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter
Copyright © 2004-2013. All Rights Reserved.