Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1014603 // tailFileLinewiseFromStart - start with beginning of file; output full lines

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (10247L/58K).

1  
static TailFile tailFileLinewiseFromStart(File file, int interval, VF1<S> onData) {
2  
  ret tailFileFromStart(file, interval,
3  
    toIVF1(vfAppendToLineBuffer(new LineBuffer(onData))));
4  
}
5  
6  
static TailFile tailFileLinewiseFromStart(File file, int interval, IVF1<S> onData) {
7  
  ret tailFileLinewiseFromStart(file, interval, toVF1(onData));
8  
}

Author comment

Began life as a copy of #1014121

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1014603
Snippet name: tailFileLinewiseFromStart - start with beginning of file; output full lines
Eternal ID of this version: #1014603/4
Text MD5: 29b28f7a19cf510b54e063867af32295
Transpilation MD5: 1e904b4063194b7f772f87cd0ca2af11
Author: stefan
Category: javax / i.o.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-10-05 19:07:40
Source code size: 345 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 376 / 478
Version history: 3 change(s)
Referenced in: [show references]