KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sample > utils > SampleUtil


1 package com.sample.utils;
2
3 import com.sample.loglib.LogLib;
4
5 public class SampleUtil {
6     private String JavaDoc name;
7     private LogLib logLib = new LogLib(SampleUtil.class.getName());
8
9     public SampleUtil(String JavaDoc name) {
10         this.name = name;
11     }
12
13     public String JavaDoc getName() {
14         return this.name;
15     }
16
17     public void process() {
18         logLib.info("Processing...");
19     }
20
21 }
Popular Tags