net.rim.pushsdk.commons
Class BoundaryGenerator
java.lang.Object
net.rim.pushsdk.commons.BoundaryGenerator
public class BoundaryGenerator
- extends Object
Generates a boundary for use in MIME multipart messages to separate the pieces of content.
- Author:
- mdicesare
|
Method Summary |
String |
makeBoundary()
Creates a boundary that is in a format of: <20 random alpha numeric characters>
This class can be subclassed and this method overridden if a custom boundary is needed for creating
MultiPartContent only (e.g. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BoundaryGenerator
public BoundaryGenerator()
makeBoundary
public String makeBoundary()
- Creates a boundary that is in a format of: <20 random alpha numeric characters>
This class can be subclassed and this method overridden if a custom boundary is needed for creating
MultiPartContent only (e.g. a special prefix and/or suffix that needs to be set).
- Returns:
- a boundary that can be used in MIME multipart messages to separate the pieces of content
Copyright © 2011 Research In Motion. All Rights Reserved.