Create a gist now

Instantly share code, notes, and snippets.

package com.illuzor.antbuilddemo.interfaces {
public interface IGenerator {
function getText():String;
}
}
package com.illuzor.antbuilddemo.generators {
import com.illuzor.antbuilddemo.interfaces.IGenerator;
public class AndroidTextGenerator implements IGenerator {
/* INTERFACE com.illuzor.antbuilddemo.interfaces.IGenerator */
public function getText():String {
return "Text for Android";
}
}
}
package com.illuzor.antbuilddemo.generators {
import com.illuzor.antbuilddemo.interfaces.IGenerator;
public class FlashPlayerTextGenerator implements IGenerator {
/* INTERFACE com.illuzor.antbuilddemo.interfaces.IGenerator */
public function getText():String {
return "Text for Flash Player";
}
}
}
package com.illuzor.antbuilddemo.generators {
import com.illuzor.antbuilddemo.interfaces.IGenerator;
public class IOSTextGenerator implements IGenerator {
/* INTERFACE com.illuzor.antbuilddemo.interfaces.IGenerator */
public function getText():String {
return "Text for IOS";
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment