Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

read stream java

InputStream input = new FileInputStream("c:datainput-file.txt");

int data = input.read();

while(data != -1){
  data = input.read();
}
Source by tutorials.jenkov.com #
 
PREVIOUS NEXT
Tagged: #read #stream #java
ADD COMMENT
Topic
Name
2+6 =