Hi guys,
Please anybody who knows about java, especially about database. I would like to solicit some ideas as to how to use a text file as a storage (database) of english terms with their corresponding cebuano translations.
thanx in advance![]()
Hi guys,
Please anybody who knows about java, especially about database. I would like to solicit some ideas as to how to use a text file as a storage (database) of english terms with their corresponding cebuano translations.
thanx in advance![]()
you can use java.io classes
you could actually make use of "Lists" to act as database.. hmmm..
gamit lang pud ug "file handling" concept sa java para sa imong "text file storage"..
and, google the things you want to know. .^__^
thanx ninyo guys.
1. To bensagarino, there are several java.io classes and i'm quite confused on what to do and which one to use for I'm not really familiar of all those classes (only few that I am familiar of). could you suggest specific ones that I can use? But anyway, my concern is on how to create a text-file database and recognize/connect it to java.
2. To mykel, what "lists" are you talking about? are these lists in a text-file format (i.e. notepad or something)? and Yeah thanx for the suggestion of using the "file handling" concept.
Thank you again guys.
You can focus on BufferedReader and BufferedWriter classes.
and for examples on how to use this classes you may google it: lots of result btw
Hi JosephG,
Wow thanx for the suggestion.
Hehehe murag tanan nga answer kay moingon na man nga "refer to google" or something like that. Yeah I know gamit jud kaau ang internet kay there are tons of information that u can have and daghan pud examples pero personally, ganahan jud ko mo-ask ug person kay MAS SPECIFIC ang answer like what u suggested nga mogamit lang ko ug BufferedReader and BufferedWriter classes. So I now know kon unsa lang nga classes ko mofucos sa akong search d ba.
Thanx again for that and I will start studying about it.
Until next...
Try to use Hashtable and serialize it?
up ko ani nga tread bhe, nahan pud ko kat-on java.
pde man cguro use ug ODBC para maka connect ang JAVA sa Database. hehe
search lang..^^
Una sa tanan, ang database gi imbento para mo hold/manage ug data. Mao na ang sole purpose niya. Karon nganong adto pa man gyud nimo ibutang sa text file ang imong data?
Kung gusto ka lightweight nga DB. SQLite dajon. Gusto pa gyud ka mas lighter, suggest nako e XML imo file kay mas manageable siya, gamit lang ug xtream para [de]serialize sa imong mga POJO
Similar Threads |
|