Java tutorial
//package com.java2s; public class Main { private static String getSimpleName(final String event) { final String[] split = event.split("\\."); return split[split.length - 1]; } }