Back to project page Android-MarketBin.
The source code is released under:
MIT License
If you think the Android project Android-MarketBin listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.haunted.marketbin; //from ww w. j a v a 2 s . c o m import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; public class MarketDescriptor implements IMarketDescriptor { private final String marketName; private final String intentFormat; private final String packageName; public MarketDescriptor(@NotNull String marketName, @Nullable String intentFormat, @Nullable String packageName) { this.marketName = marketName; this.intentFormat = intentFormat; this.packageName = packageName; } @Override public String getMarketName() { return marketName; } @Override public String getPackageName() { return packageName; } @Override public String getIntentFormat() { return intentFormat; } @Override public String toString() { return marketName + " - " + packageName; } }