Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    public static boolean filter(String str) {
        if (str.equalsIgnoreCase("InputPerson")) {
            return true;
        } else if (str.equalsIgnoreCase("UpdatePerson")) {
            return true;
        } else if (str.equalsIgnoreCase("ActiveFlag")) {
            return true;
        } else if (str.equalsIgnoreCase("UpdateDate")) {
            return true;
        } else if (str.equalsIgnoreCase("InputDate")) {
            return true;
        } else if (str.equalsIgnoreCase("SubsystemName")) {
            return true;
        } else if (str.equalsIgnoreCase("Class")) {
            return true;
        } else if (str.equalsIgnoreCase("FeederCode")) {
            return true;
        } else if (str.equalsIgnoreCase("FeederCodeEx")) {
            return true;
        } else if (str.equalsIgnoreCase("DatasetName")) {
            return true;
        } else if (str.equalsIgnoreCase("DatasetType")) {
            return true;
        }
        return false;
    }
}