Creating a Java Program to Search a File for a Specific Word -
i learning language , wondering more experience java programmer in following situation?
i create java program search specified file instanced specific word.
how go this, java api come class provides file scanning capabilities or have write own class this?
thanks input,
dom.
the java api offer java.util.scannerclass allow scan across input file.
depending on how intend use this, however, might not best idea. file large? searching 1 file or trying keep database of many files , search files within that? in case, might want use more fleshed out engine such lucene.
Comments
Post a Comment