Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > b8be6964f00c511f00fed788c030da8c > files > 31

jdiff-manual-1.0.10-2.0.5mdv2010.0.i586.rpm

package com.acme.sp;

import java.lang.*;

/**
 * This class is the interface for accessing an SP object.
 */
public class SPImpl implements SP {

    /** Default constructor. */
    private SPImpl() {
    }
    
    /** Method to create a new SP object, hidden for future flexibility. */
    public static SP createSP() {
        SPImpl spimpl = new SPImpl();
        return spimpl;
    }

    /** 
     * This method was inherited from the SP interface.
     *
     * @deprecated Use some other method instead.
     */
    public int saveName(String name, int value) {
        return 1;
    }

    /** 
     * This is the new method for flushing tables. 
     *
     * @since SuperProduct 2.0
     */
    public void flushTable(SP instance) {
    }

    /** 
     * We've changed the signature in the 2.0 release. 
     */
    public static void buildLog(String logName, int timeout, 
                                boolean isDisk, int numRollovers) {
    }
}