Created
August 16, 2015 19:52
-
-
Save illuzor/39a007afa1f19b982e28 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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