2012-06-22 5 views

답변

1

당신이 게시 된 링크에 주어진 샘플에 어떤 문제가 Blob 저장소에 파일을 uploding에 대한 링크를 다음에 주어진 코드를 사용했다?

// Later, read from the file using the file API 
     lock = false; // Let other people read at the same time 
     FileReadChannel readChannel = fileService.openReadChannel(file, false); 

    // Again, different standard Java ways of reading from the channel. 
     BufferedReader reader = new BufferedReader(Channels.newReader(readChannel, "UTF8")); 
     String line = reader.readLine(); 
    // line = "The woods are lovely dark and deep." 
관련 문제