Cauda simples em Java com Shutdownhook

import java.io.File;import java.io.RandomAccessFile;import java.util.logging.Level;import java.util.logging.Logger;/*** based on http://stackoverflow.com/a/559146/1313040* also based on http://stackoverflow.com/a/2922031/1313040*/public class Tail implements Runnable { private long _updateInterval = 1000; private long _filePointer; private File _file; private static …

Continuar lendo