|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectBlackbird.SpaceRemover
public class SpaceRemover
Blackbird Encryption Project.
Copyright 2008 Blackbird Encryption Project - www.ravenproject.us
This file is part of Blackbird.Notes: This class created as a quick tool for removal of spaces from array elements before being sent into the lower level decypt calls. Spaces being parsed, or attempts for it, in the integer parsing routines, were crashing the lower level decrypt calls. http://www.regular-expressions.info/java.html Changes
Blackbird is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Blackbird is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Blackbird. If not, see <http://www.gnu.org/licenses/>.
| Constructor Summary | |
|---|---|
SpaceRemover()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
lcrtrim(java.lang.String source)
This simply removes all spaces from the string. |
static java.lang.String |
lrtrim(java.lang.String source)
lrtrim uses both ltrim and rtrim to remove blank spaces that flank the needed value in a string. |
static java.lang.String |
ltrim(java.lang.String source)
ltrim subroutine using Java string ops to remove leading blank spaces in a string. |
static java.lang.String |
rtrim(java.lang.String source)
rtrim subroutine using Java string ops to remove traling blank spaces in a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpaceRemover()
| Method Detail |
|---|
public static java.lang.String lcrtrim(java.lang.String source)
source -
public static java.lang.String ltrim(java.lang.String source)
source -
public static java.lang.String rtrim(java.lang.String source)
source -
public static java.lang.String lrtrim(java.lang.String source)
source -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||