• Post Reply Bookmark Topic Watch Topic
  • New Topic

incomplete retrieve data from long document

 
L Willie
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1st question


following is the imcomplete data retrieve from Memorandom.doc.Moreover there have few human unreadable text on the beginning of the retrieved text.
邢唷?欹student only put worthless things to the cabinet.

WORK COMPLETED
We are making a few things and the work has been done. As shown below is the outlines of our work completed.

Finding group members
Firstly, we must find group members of three people before start our project.

Brainstorming
This process is important because we discuss about our project problem statement, back

and following is the original message of the document
Memorandum
To: Mrs. Rema
From:
Date: 21 September 2008
Subject:Seldom student use locker of Faculty of Computer Science & Information Technology (FCSIT)

Since the process to apply the key of the locker that provides by faculty is not clear due to lack of clear guidance to student. Moreover there have alternate cabinet which no application require, it is quite convenience to our student. Although the cabinet is not secure cause these cabinet is �open air� to public. Hence
student only put worthless things to the cabinet.

WORK COMPLETED
We are making a few things and the work has been done. As shown below is the outlines of our work completed.

Finding group members
Firstly, we must find group members of three people before start our project.

Brainstorming
This process is important because we discuss about our project problem statement, background
Information, possible causes or reason, possible consequences and data gathering method .Besides, also discuss and divide particular work to do of each of the group member.

Survey
Survey in an important step we get information we need. The survey form consist the question that ask the respondent or student about their opinion about locker that provide by faculty. The survey form will be collected and then the result of each respondent�s answer will be recorded and the data will be calculated and make statistic comparison.

Observation
Observation is another method that we are get information about use of locker. In the observation, almost no students use the locker.

WORK SCHEDULED
The primary responsibilities remaining are writing recommendation report. This report is to recommend to our Dean of FSCIT that our suggestions replacing current locker to coin locker.




how to solve this problem?


**************************************************************************
2nd question
how to buffer PrintWriter,is it printwriter have buffer function by default?

**************************************************************************
3rd question
is it have alternate method better than Scanner to retrieve data from document like PrintWriter better than OutputStreamWriter

Sincerely
[ October 10, 2008: Message edited by: L Willie ]
 
Joe Ess
Bartender
Posts: 9361
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is Memorandum.doc a MS Word document? If so, it is a binary file and can't be processed beyond simple file operations (i.e. copy) with the standard Java IO classes.


2nd question
how to buffer PrintWriter,is it printwriter have buffer function by default?

PrintWriter is not buffered by default. You have to chain it with a BufferedWriter.
 
L Willie
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Joe Ess:
Is Memorandum.doc a MS Word document? If so, it is a binary file and can't be processed beyond simple file operations (i.e. copy) with the standard Java IO classes.


PrintWriter is not buffered by default. You have to chain it with a BufferedWriter.


yes,Memorandum.doc is MS Word document.

thank your reply to my question again
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!