Discussions
Categories
- 197K All Categories
- 2.5K Data
- 546 Big Data Appliance
- 1.9K Data Science
- 450.8K Databases
- 221.9K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 552 MySQL Community Space
- 479 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3.1K ORDS, SODA & JSON in the Database
- 556 SQLcl
- 4K SQL Developer Data Modeler
- 187.2K SQL & PL/SQL
- 21.4K SQL Developer
- 296.3K Development
- 17 Developer Projects
- 139 Programming Languages
- 293K Development Tools
- 110 DevOps
- 3.1K QA/Testing
- 646.1K Java
- 28 Java Learning Subscription
- 37K Database Connectivity
- 158 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.2K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 19 Java Essentials
- 162 Java 8 Questions
- 86K Java Programming
- 81 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 205 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 468 LiveLabs
- 39 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.7K Other Languages
- 2.3K Chinese
- 175 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 233 Portuguese
how to read an ARPA file in java

839722
Member Posts: 2
Hi
Im new in java and dont know many thing about it, I want to know how can read an ARPA file in java.
pleas describ it step bye step and esy to understand.
Edited by: 836719 on Feb 14, 2011 8:15 PM
Im new in java and dont know many thing about it, I want to know how can read an ARPA file in java.
pleas describ it step bye step and esy to understand.
Edited by: 836719 on Feb 14, 2011 8:15 PM
Answers
-
Whatever an 'ARPA file' may be, you read it the same way you read any other file. FileInputStream or FileReader. If you want to read native datatypes from the file, DataInputStream around a FileInputStream. If it contains lines of text, try BufferedReader.readLine. If you have to parse the text, take a look at java.util.Scanner.
-
ok i explain what i want to do maybe u can help me more,
i want to read an arpa file and search it to find for example a word.so u think which method that u mentioned above is beter???
It will be pleasure if u have any tip that can help me.
thank u -
836719 wrote:Well, we're new to ARPA files. Please describe them step by step to us so it's easy to understand what they are.
Im new in java and dont know many thing about it, I want to know how can read an ARPA file in java.
pleas describ it step bye step and esy to understand. -
ARPA as in "Advanced Research Projects Agency"? (http://www.darpa.mil) Maye they have some publicly available DAO's. Can't hurt to ask?
-
836719 wrote:1. Learn the basics of programming as well as how to logically construct and deconstruct a problem domain.
ok i explain what i want to do maybe u can help me more,
i want to read an arpa file and search it to find for example a word.so u think which method that u mentioned above is beter???
It will be pleasure if u have any tip that can help me.
2. Learn the basics of programming java.
3. Learn about java.io.*
4. Learn about java swing
5. Find documentation that describes the format of the ARPA file.
6. Read the documentation and understand it.
7. Find a source for ARPA files (if this is online then there is more java to learn as well.)
8. Use 1,2 and 3 to write java code that consumes the ARPA file.
9. Use 4 to ask the user for a word.
10. Use 1 and 2 to write code that 'searches' what you read in 8. -
jschell wrote:11. Learn how to spell 'you'.
1. Learn the basics of programming as well as how to logically construct and deconstruct a problem domain.
2. Learn the basics of programming java.
...
Winston
This discussion has been closed.