|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmsi.web.application.LPCodes
Nice little static object for handing out the leasepak codes. This works with both the LPCodesUpdate object and the LPCodesServiceListener to update codes.
Method Summary | |
java.lang.String |
appStatusCodes()
|
void |
getAllCodes()
reads in the lpcodes file |
java.util.Hashtable |
getCodes(java.lang.String Code)
Special function to get the states from the lpcode.txt file. |
static LPCodes |
getInstance()
You never call the object directly you just get an instance of it. |
void |
getRefreshCodes()
getRefreshCodes is an internal method to refresh the codes |
java.util.Hashtable |
getStateCodes()
Special function to get the states from the lpcode.txt file. |
void |
reReadCodes()
|
void |
setLPCodeType(java.lang.String type_str)
Set the code type that you want to get. |
void |
setTimerInterval(long timeLen_l)
Setup the timer interval and then start the timer. |
void |
setupLPCodes(java.lang.String svrRoot)
Setup the codes server, or initialize this. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static LPCodes getInstance()
public void reReadCodes()
public void setTimerInterval(long timeLen_l)
timeLen_l
- -
the time to repol for new codes.public void setupLPCodes(java.lang.String svrRoot)
svrRoot
- -
this is the root directory of the server.public void setLPCodeType(java.lang.String type_str)
type_str
- -
set the type or name of the codes to get.public java.util.Hashtable getStateCodes()
public java.util.Hashtable getCodes(java.lang.String Code)
public void getAllCodes() throws java.lang.Exception
throws
- Exception.
java.lang.Exception
public void getRefreshCodes()
public java.lang.String appStatusCodes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
© 2008 by NetSol Technologies, Inc.
All rights reserved.The information contained in this document is the property of NetSol Technologies, Inc. Use of the information contained herein is restricted. Conditions of use are subject to change without notice. NetSol Technologies, Inc. assumes no liability for any inaccuracy that may appear in this document; the contents of this document do not constitute a promise or warranty. The software described in this document is furnished under license and may be used or copied only in accordance with the terms of said license. Unauthorized use, alteration, or reproduction of this document without the written consent of NetSol Technologies, Inc. is prohibited.