All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.triceo.splitlog.splitters.SimpleTailSplitter Maven / Gradle / Ivy

Go to download

These are the core parts of splitlog. This is where the implementations of the public APIs live. Classes from this package come with no API stability guarantees.

There is a newer version: 1.7.2
Show newest version
package com.github.triceo.splitlog.splitters;

import java.util.Date;
import java.util.List;

import com.github.triceo.splitlog.api.MessageSeverity;
import com.github.triceo.splitlog.api.MessageType;

final public class SimpleTailSplitter extends AbstractTailSplitter {

    @Override
    public Date determineDate(final List raw) {
        return null;
    }

    @Override
    public String determineLogger(final List line) {
        return null;
    }

    @Override
    public MessageSeverity determineSeverity(final List raw) {
        return MessageSeverity.UNKNOWN;
    }

    @Override
    public MessageType determineType(final List raw) {
        return MessageType.LOG;
    }

    @Override
    public boolean isStartingLine(final String line) {
        return true;
    }

    @Override
    public String stripOfMetadata(final String line) {
        return line;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy