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

8
LINES

< > BotCompany Repo | #1030895 // tailFileLinewise - new stuff only; output full lines

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

Libraryless. Click here for Pure Java version (10207L/57K).

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

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

Author comment

Began life as a copy of #1014603

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030895
Snippet name: tailFileLinewise - new stuff only; output full lines
Eternal ID of this version: #1030895/5
Text MD5: 07bd0e4869ec9ec00d953f93029b276c
Transpilation MD5: 697d0c4bc03bece65a243d32d5f4902d
Author: stefan
Category: javax / i.o.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-09-29 20:12:18
Source code size: 307 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 244 / 358
Version history: 4 change(s)
Referenced in: [show references]