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).

static TailFile tailFileLinewisePlusLastLine(File file, int interval, VF1<S> onData) {
  ret tailFilePlusLastLine(file, interval,
    vfAppendToLineBuffer(new LineBuffer(onData)));
}

static TailFile tailFileLinewisePlusLastLine(File file, int interval, IVF1<S> onData) {
  ret tailFileLinewisePlusLastLine(file, interval, toVF1(onData));
}

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: 487 / 557
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1014603 - tailFileLinewiseFromStart - start with beginning of file; output full lines