akosiraff

HTML Convert Java

Mar 5th, 2013
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. Download: http://solutionzip.com/downloads/html-convert-java/
  2.  
  3. write a class for an interface and mock implementation which translates a plain text book from Project Gutenberg(http://gutenberg.org to HTML. The HTML conversion can be carried out in two steps. First, the plain text is assembled into segments, blocks of text of the same kind(heading, paragraph, and so on). Then each segment is converted, by surrounding it with HTML tags and converting special characters.
  4. ” ” to “ (left) or ” (right)
  5. ‘ ‘ to ‘ (left) or ’ (right)
  6. - to &emdash;
  7. >
  8. & &
  9.  
  10. Download: http://solutionzip.com/downloads/html-convert-java/
Advertisement
Add Comment
Please, Sign In to add comment