Package org.javlo.service.participation
Class ParticipationListService
- java.lang.Object
-
- org.javlo.service.participation.ParticipationListService
-
public class ParticipationListService extends Object
-
-
Constructor Summary
Constructors Constructor Description ParticipationListService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckNumber(String number)static booleancheckNumberValidity(String number)static voidcreateFile(File file, int size, Iterator it)static Collection<String>createListNumber(int size, long length)static ParticipationListServicegetInstance(ContentContext ctx)static ParticipationListServicegetInstance(ContentContext ctx, File listFile)
-
-
-
Field Detail
-
logger
protected static Logger logger
create a static logger.
-
-
Method Detail
-
getInstance
public static final ParticipationListService getInstance(ContentContext ctx) throws IOException
- Throws:
IOException
-
getInstance
public static final ParticipationListService getInstance(ContentContext ctx, File listFile) throws IOException
- Throws:
IOException
-
createListNumber
public static Collection<String> createListNumber(int size, long length)
-
checkNumber
public boolean checkNumber(String number)
-
checkNumberValidity
public static boolean checkNumberValidity(String number)
-
-