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

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

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

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: 375 / 475
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1030895 - tailFileLinewise - new stuff only; output full lines
#1036146 - tailFileLinewiseFromPosition - start with certain position in file; output full lines