mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-14 00:30:31 +00:00
saved printPlain()
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@385 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
0e4d382669
commit
002560b57a
1 changed files with 7 additions and 0 deletions
|
@ -314,6 +314,13 @@ public final class ParserUtils
|
||||||
System.out.println(m.group(1));
|
System.out.println(m.group(1));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void printPlain(final CharSequence plain)
|
||||||
|
{
|
||||||
|
final Matcher m = Pattern.compile("(.{1,80})").matcher(plain);
|
||||||
|
while (m.find())
|
||||||
|
System.out.println(m.group(1));
|
||||||
|
}
|
||||||
|
|
||||||
public static String urlEncode(final String str)
|
public static String urlEncode(final String str)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue