org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/JavaAppletLaunchConfigurationDelegate.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.31, Mon May 8 20:39:12 2006 UTC revision 1.31.4.1, Tue Oct 2 14:50:49 2007 UTC
# Line 210  Line 210 
210    
211          /**          /**
212           * Returns the contents of the given file as a byte array.           * Returns the contents of the given file as a byte array.
213           * @throws IOException if a problem occured reading the file.           * @throws IOException if a problem occurred reading the file.
214           */           */
215          protected static byte[] getFileByteContent(File file) throws IOException {          protected static byte[] getFileByteContent(File file) throws IOException {
216                  InputStream stream = null;                  InputStream stream = null;
# Line 232  Line 232 
232           * If a length is specified (ie. if length != -1), only length bytes           * If a length is specified (ie. if length != -1), only length bytes
233           * are returned. Otherwise all bytes in the stream are returned.           * are returned. Otherwise all bytes in the stream are returned.
234           * Note this doesn't close the stream.           * Note this doesn't close the stream.
235           * @throws IOException if a problem occured reading the stream.           * @throws IOException if a problem occurred reading the stream.
236           */           */
237          protected static byte[] getInputStreamAsByteArray(InputStream stream, int length)          protected static byte[] getInputStreamAsByteArray(InputStream stream, int length)
238                  throws IOException {                  throws IOException {

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.31.4.1