Permalink
Browse files

Merge pull request #11 from roberto-simoni/clean-deprecated-class

Removed class UnicodeFileToHtmlTextConverter.java
  • Loading branch information...
2 parents 7f70a6c + 6f35f64 commit eb660e83643c9a3affba48240cca330ffe452842 @lucaminudel committed Sep 7, 2012
@@ -1,22 +0,0 @@
-package tddmicroexercises.textconvertor;
-
-import java.io.FileReader;
-import java.io.IOException;
-
-/**
- * @deprecated Please use {@link Text#Text(java.io.File)} and {@link Text#toHtml()}
- */
-public class UnicodeFileToHtmlTextConverter {
-
- private String fullFilenameWithPath;
-
- public UnicodeFileToHtmlTextConverter(String fullFilenameWithPath) {
- this.fullFilenameWithPath = fullFilenameWithPath;
- }
-
- public String convertToHtml() throws IOException {
- Text text = new Text(new FileReader(fullFilenameWithPath));
- return text.toHtml();
- }
-
-}

0 comments on commit eb660e8

Please sign in to comment.