|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mahout.cf.taste.example.TasteOptionParser
public final class TasteOptionParser
This class provides a common implementation for parsing input parameters for all taste examples. Currently they only need the path to the recommendations file as input. The class is safe to be used in threaded contexts.
Method Summary | |
---|---|
static java.io.File |
getRatings(java.lang.String[] args)
Parse the given command line arguments. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.io.File getRatings(java.lang.String[] args) throws org.apache.commons.cli2.OptionException
args
- the arguments as given to the application.
org.apache.commons.cli2.OptionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |