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

8
LINES

< > BotCompany Repo | #1014121 // tailFileLinewisePlusLastLine - start with last line of existing content; output full lines

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

Uses 408K of libraries. Click here for Pure Java version (11687L/65K).

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

Author comment

Began life as a copy of #1014119

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1014121
Snippet name: tailFileLinewisePlusLastLine - start with last line of existing content; output full lines
Eternal ID of this version: #1014121/4
Text MD5: 44848640538da14454dbc2f50d095077
Transpilation MD5: beac3dc5a135633f2e28e0a461642940
Author: stefan
Category: javax / i.o.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2023-02-19 01:18:41
Source code size: 347 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 488 / 559
Version history: 3 change(s)
Referenced in: [show references]