public void reportAllEncodingErrors(String string) { // this is where the encoding errors should be reported char[] unitSource = string.toCharArray(); for (EncodingError error : this.encodingErrors) { System.err.println(this.fileObject.getName() + " Unmappable character for encoding " + this.encoding);//$NON-NLS-1$ System.err.println(error.getSource(unitSource)); } } }
public void collect(int position, int length) { this.encodingErrors.add(new EncodingError(position, length)); } public void reportAllEncodingErrors(String string) {
public void collect(int position, int length) { this.encodingErrors.add(new EncodingError(position, length)); } public void reportAllEncodingErrors(String string) {
public void collect(int position, int length) { this.encodingErrors.add(new EncodingError(position, length)); } public void reportAllEncodingErrors(String string) {
public void reportAllEncodingErrors(String string) { // this is where the encoding errors should be reported char[] unitSource = string.toCharArray(); for (EncodingError error : this.encodingErrors) { System.err.println(this.fileObject.getName() + " Unmappable character for encoding " + this.encoding);//$NON-NLS-1$ System.err.println(error.getSource(unitSource)); } } }
public void reportAllEncodingErrors(String string) { // this is where the encoding errors should be reported char[] unitSource = string.toCharArray(); for (EncodingError error : this.encodingErrors) { System.err.println(this.fileObject.getName() + " Unmappable character for encoding " + this.encoding);//$NON-NLS-1$ System.err.println(error.getSource(unitSource)); } } }
public void reportAllEncodingErrors(String string) { // this is where the encoding errors should be reported char[] unitSource = string.toCharArray(); for (EncodingError error : this.encodingErrors) { System.err.println(this.fileObject.getName() + " Unmappable character for encoding " + this.encoding);//$NON-NLS-1$ System.err.println(error.getSource(unitSource)); } } }
public void reportAllEncodingErrors(String string) { // this is where the encoding errors should be reported char[] unitSource = string.toCharArray(); for (EncodingError error : this.encodingErrors) { System.err.println(this.fileObject.getName() + " Unmappable character for encoding " + this.encoding);//$NON-NLS-1$ System.err.println(error.getSource(unitSource)); } } }
public void collect(int position, int length) { this.encodingErrors.add(new EncodingError(position, length)); } public void reportAllEncodingErrors(String string) {
public void collect(int position, int length) { this.encodingErrors.add(new EncodingError(position, length)); } public void reportAllEncodingErrors(String string) {
public void collect(int position, int length) { this.encodingErrors.add(new EncodingError(position, length)); } public void reportAllEncodingErrors(String string) {
public void reportAllEncodingErrors(String string) { // this is where the encoding errors should be reported char[] unitSource = string.toCharArray(); for (EncodingError error : this.encodingErrors) { System.err.println(this.fileObject.getName() + " Unmappable character for encoding " + this.encoding);//$NON-NLS-1$ System.err.println(error.getSource(unitSource)); } } }