Android Open Source - android-robot-control-app Controller Fragment Factory

From Project

Back to project page android-robot-control-app.


The source code is released under:

GNU General Public License

If you think the Android project android-robot-control-app listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

//from  w  w  w  .j  a v  a2 s  .  c o  m

public class ControllerFragmentFactory {
  public static ControllerFragment createControllerFragment(String type,
      OutputStream outputStream) {
    ControllerFragment controllerFragment = null;
    if (type.equals("XControllerFragment")) {
      controllerFragment = new XControllerFragment(outputStream);
    return controllerFragment;


Java Source Code List