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 boolean
checkNumber(String number)
static boolean
checkNumberValidity(String number)
static void
createFile(File file, int size, Iterator it)
static Collection<String>
createListNumber(int size, long length)
static ParticipationListService
getInstance(ContentContext ctx)
static ParticipationListService
getInstance(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)
-
-