aQute.bnd.build.model.conversions
Class NewlineEscapedStringFormatter
java.lang.Object
aQute.bnd.build.model.conversions.NewlineEscapedStringFormatter
- All Implemented Interfaces:
- Converter<String,String>
public class NewlineEscapedStringFormatter
- extends Object
- implements Converter<String,String>
Turns newlines to textual escaped newlines and orphaned backslashes to double
backslashes.
- Author:
- aqute
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NewlineEscapedStringFormatter
public NewlineEscapedStringFormatter()
convert
public String convert(String input)
throws IllegalArgumentException
- Specified by:
convert in interface Converter<String,String>
- Throws:
IllegalArgumentException
error
public String error(String msg)
- Specified by:
error in interface Converter<String,String>
Copyright © 2014 aQute SARL. All rights reserved.