congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
PriceList.getPlans
Code IndexAdd Tabnine to your IDE (free)

How to use
getPlans
method
in
org.killbill.billing.catalog.api.PriceList

Best Java code snippets using org.killbill.billing.catalog.api.PriceList.getPlans (Showing top 15 results out of 315)

origin: killbill/killbill

@Override
public List<Listing> getAvailableBasePlanListings() {
  final List<Listing> availBasePlans = new ArrayList<Listing>();
  for (final Plan plan : getCurrentPlans()) {
    if (plan.getProduct().getCategory().equals(ProductCategory.BASE)) {
      for (final PriceList priceList : getPriceLists().getAllPriceLists()) {
        for (final Plan priceListPlan : priceList.getPlans()) {
          if (priceListPlan.getName().equals(plan.getName()) &&
            priceListPlan.getProduct().getName().equals(plan.getProduct().getName())) {
            availBasePlans.add(new DefaultListing(priceListPlan, priceList));
          }
        }
      }
    }
  }
  return availBasePlans;
}
origin: killbill/killbill

@Test(groups = "fast")
public void testAddPlanOnExistingCatalog() throws Exception {
  final StandaloneCatalog originalCatalog = XMLLoader.getObjectFromString(Resources.getResource("SpyCarBasic.xml").toExternalForm(), StandaloneCatalog.class);
  assertEquals(originalCatalog.getPriceLists().getAllPriceLists().size(), 1);
  assertEquals(originalCatalog.getPriceLists().getAllPriceLists().get(0).getName(), new PriceListDefault().getName());
  assertEquals(originalCatalog.getPriceLists().getAllPriceLists().get(0).getPlans().size(), 3);
  final CatalogUpdater catalogUpdater = new CatalogUpdater(originalCatalog);
  final SimplePlanDescriptor desc = new DefaultSimplePlanDescriptor("standard-annual", "Standard", ProductCategory.BASE, Currency.USD, BigDecimal.TEN, BillingPeriod.MONTHLY, 0, TimeUnit.UNLIMITED, ImmutableList.<String>of());
  catalogUpdater.addSimplePlanDescriptor(desc);
  final StandaloneCatalog catalog = catalogUpdater.getCatalog();
  final Plan plan = catalog.findCurrentPlan("standard-annual");
  assertEquals(plan.getName(), "standard-annual");
  assertEquals(plan.getInitialPhases().length, 0);
  assertEquals(plan.getFinalPhase().getPhaseType(), PhaseType.EVERGREEN);
  assertNull(plan.getFinalPhase().getFixed());
  assertEquals(plan.getFinalPhase().getName(), "standard-annual-evergreen");
  assertEquals(plan.getFinalPhase().getRecurring().getBillingPeriod(), BillingPeriod.MONTHLY);
  assertEquals(plan.getFinalPhase().getRecurring().getRecurringPrice().getPrices().length, 1);
  assertEquals(plan.getFinalPhase().getRecurring().getRecurringPrice().getPrices()[0].getValue(), BigDecimal.TEN);
  assertEquals(plan.getFinalPhase().getRecurring().getRecurringPrice().getPrices()[0].getCurrency(), Currency.USD);
  assertEquals(catalog.getPriceLists().getAllPriceLists().size(), 1);
  final PriceList priceList = catalog.getPriceLists().getAllPriceLists().get(0);
  assertEquals(priceList.getName(), new PriceListDefault().getName());
  assertEquals(priceList.getPlans().size(), 4);
}
origin: killbill/killbill

@Test(groups = "fast")
public void testInvalidPlanDescriptors() throws Exception {
  final StandaloneCatalog originalCatalog = enhanceOriginalCatalogForInvalidTestCases("SpyCarBasic.xml");
  assertEquals(originalCatalog.getPriceLists().getAllPriceLists().size(), 1);
  assertEquals(originalCatalog.getPriceLists().getAllPriceLists().get(0).getName(), new PriceListDefault().getName());
  assertEquals(originalCatalog.getPriceLists().getAllPriceLists().get(0).getPlans().size(), 5);
  CatalogUpdater catalogUpdater = new CatalogUpdater(originalCatalog);
  // Existing Plan has a 30 days trial => try with no TRIAL
  SimplePlanDescriptor desc = new DefaultSimplePlanDescriptor("standard-monthly", "Standard", ProductCategory.BASE, Currency.EUR, BigDecimal.TEN, BillingPeriod.MONTHLY, 0, TimeUnit.DAYS, ImmutableList.<String>of());
  addBadSimplePlanDescriptor(catalogUpdater, desc);
  // Existing Plan has a 30 days trial => try different trial length
  desc = new DefaultSimplePlanDescriptor("standard-monthly", "Standard", ProductCategory.BASE, Currency.EUR, BigDecimal.TEN, BillingPeriod.MONTHLY, 14, TimeUnit.DAYS, ImmutableList.<String>of());
  addBadSimplePlanDescriptor(catalogUpdater, desc);
  // Existing Plan has a 30 days trial => try different trial unit
  desc = new DefaultSimplePlanDescriptor("standard-monthly", "Standard", ProductCategory.BASE, Currency.EUR, BigDecimal.TEN, BillingPeriod.MONTHLY, 30, TimeUnit.MONTHS, ImmutableList.<String>of());
  addBadSimplePlanDescriptor(catalogUpdater, desc);
  // Existing Plan has a MONTHLY recurring => try with ANNUAL BillingPeriod
  desc = new DefaultSimplePlanDescriptor("standard-monthly", "Standard", ProductCategory.BASE, Currency.EUR, BigDecimal.TEN, BillingPeriod.ANNUAL, 30, TimeUnit.DAYS, ImmutableList.<String>of());
  addBadSimplePlanDescriptor(catalogUpdater, desc);
  // Existing Plan has a discount phase
  desc = new DefaultSimplePlanDescriptor("dynamic-monthly", "Dynamic", ProductCategory.BASE, Currency.EUR, BigDecimal.TEN, BillingPeriod.MONTHLY, 30, TimeUnit.MONTHS, ImmutableList.<String>of());
  addBadSimplePlanDescriptor(catalogUpdater, desc);
  // Existing Plan has final fixedterm phase
  desc = new DefaultSimplePlanDescriptor("superdynamic-fixedterm", "SuperDynamic", ProductCategory.BASE, Currency.EUR, BigDecimal.TEN, BillingPeriod.MONTHLY, 30, TimeUnit.DAYS, ImmutableList.<String>of());
  addBadSimplePlanDescriptor(catalogUpdater, desc);
  // Existing Plan a different recurring price ($100)
  desc = new DefaultSimplePlanDescriptor("standard-monthly", "Standard", ProductCategory.BASE, Currency.USD, BigDecimal.TEN, BillingPeriod.MONTHLY, 30, TimeUnit.DAYS, ImmutableList.<String>of());
  addBadSimplePlanDescriptor(catalogUpdater, desc);
}
origin: killbill/killbill

@Test(groups = "fast")
public void testAddNoTrialPlanOnFirstCatalog() throws CatalogApiException {
  final DateTime now = clock.getUTCNow();
  final SimplePlanDescriptor desc = new DefaultSimplePlanDescriptor("foo-monthly", "Foo", ProductCategory.BASE, Currency.EUR, BigDecimal.TEN, BillingPeriod.MONTHLY, 0, TimeUnit.UNLIMITED, ImmutableList.<String>of());
  final CatalogUpdater catalogUpdater = new CatalogUpdater(now, desc.getCurrency());
  catalogUpdater.addSimplePlanDescriptor(desc);
  final StandaloneCatalog catalog = catalogUpdater.getCatalog();
  assertEquals(catalog.getCurrentProducts().size(), 1);
  final Product product = catalog.getCurrentProducts().iterator().next();
  assertEquals(product.getName(), "Foo");
  assertEquals(product.getCategory(), ProductCategory.BASE);
  assertEquals(catalog.getCurrentPlans().size(), 1);
  final Plan plan = catalog.findCurrentPlan("foo-monthly");
  assertEquals(plan.getName(), "foo-monthly");
  assertEquals(plan.getInitialPhases().length, 0);
  assertEquals(plan.getFinalPhase().getPhaseType(), PhaseType.EVERGREEN);
  assertNull(plan.getFinalPhase().getFixed());
  assertEquals(plan.getFinalPhase().getName(), "foo-monthly-evergreen");
  assertEquals(plan.getFinalPhase().getRecurring().getBillingPeriod(), BillingPeriod.MONTHLY);
  assertEquals(plan.getFinalPhase().getRecurring().getRecurringPrice().getPrices().length, 1);
  assertEquals(plan.getFinalPhase().getRecurring().getRecurringPrice().getPrices()[0].getValue(), BigDecimal.TEN);
  assertEquals(plan.getFinalPhase().getRecurring().getRecurringPrice().getPrices()[0].getCurrency(), Currency.EUR);
  assertEquals(catalog.getPriceLists().getAllPriceLists().size(), 1);
  final PriceList priceList = catalog.getPriceLists().getAllPriceLists().get(0);
  assertEquals(priceList.getName(), new PriceListDefault().getName());
  assertEquals(priceList.getPlans().size(), 1);
  assertEquals(priceList.getPlans().iterator().next().getName(), "foo-monthly");
}
origin: killbill/killbill

@Test(groups = "fast")
public void testAddExistingPlanWithNewCurrency() throws Exception {
  final StandaloneCatalog originalCatalog = XMLLoader.getObjectFromString(Resources.getResource("SpyCarBasic.xml").toExternalForm(), StandaloneCatalog.class);
  assertEquals(originalCatalog.getPriceLists().getAllPriceLists().size(), 1);
  assertEquals(originalCatalog.getPriceLists().getAllPriceLists().get(0).getName(), new PriceListDefault().getName());
  assertEquals(originalCatalog.getPriceLists().getAllPriceLists().get(0).getPlans().size(), 3);
  final CatalogUpdater catalogUpdater = new CatalogUpdater(originalCatalog);
  final SimplePlanDescriptor desc = new DefaultSimplePlanDescriptor("standard-monthly", "Standard", ProductCategory.BASE, Currency.EUR, BigDecimal.TEN, BillingPeriod.MONTHLY, 30, TimeUnit.DAYS, ImmutableList.<String>of());
  catalogUpdater.addSimplePlanDescriptor(desc);
  final StandaloneCatalog catalog = catalogUpdater.getCatalog();
  final Plan plan = catalog.findCurrentPlan("standard-monthly");
  assertEquals(plan.getName(), "standard-monthly");
  assertEquals(plan.getInitialPhases().length, 1);
  assertEquals(plan.getInitialPhases()[0].getPhaseType(), PhaseType.TRIAL);
  assertEquals(plan.getInitialPhases()[0].getFixed().getPrice().getPrices().length, 0);
  assertEquals(plan.getInitialPhases()[0].getFixed().getPrice().getPrice(Currency.EUR), BigDecimal.ZERO);
  assertEquals(plan.getInitialPhases()[0].getName(), "standard-monthly-trial");
  assertEquals(plan.getFinalPhase().getPhaseType(), PhaseType.EVERGREEN);
  assertNull(plan.getFinalPhase().getFixed());
  assertEquals(plan.getFinalPhase().getName(), "standard-monthly-evergreen");
  assertEquals(plan.getFinalPhase().getRecurring().getBillingPeriod(), BillingPeriod.MONTHLY);
  assertEquals(plan.getFinalPhase().getRecurring().getRecurringPrice().getPrices().length, 3);
  assertEquals(plan.getFinalPhase().getRecurring().getRecurringPrice().getPrice(Currency.EUR), BigDecimal.TEN);
}
origin: killbill/killbill

final PriceList priceList = catalog.getPriceLists().getAllPriceLists().get(0);
assertEquals(priceList.getName(), new PriceListDefault().getName());
assertEquals(priceList.getPlans().size(), 1);
assertEquals(priceList.getPlans().iterator().next().getName(), "foo-monthly");
origin: killbill/killbill

assertEquals(originalCatalog.getPriceLists().getAllPriceLists().size(), 1);
assertEquals(originalCatalog.getPriceLists().getAllPriceLists().get(0).getName(), new PriceListDefault().getName());
assertEquals(originalCatalog.getPriceLists().getAllPriceLists().get(0).getPlans().size(), 3);
origin: org.kill-bill.billing/killbill-jaxrs

public PriceListJson(final PriceList priceList) {
  this.name = priceList.getName();
  List<String> plans = new ArrayList<String>();
  for (Plan plan : priceList.getPlans()) {
    plans.add(plan.getName());
  }
  this.plans = plans;
}
origin: org.kill-bill.billing/killbill-catalog

@Override
public List<Listing> getAvailableBasePlanListings() {
  final List<Listing> availBasePlans = new ArrayList<Listing>();
  for (final Plan plan : getCurrentPlans()) {
    if (plan.getProduct().getCategory().equals(ProductCategory.BASE)) {
      for (final PriceList priceList : getPriceLists().getAllPriceLists()) {
        for (final Plan priceListPlan : priceList.getPlans()) {
          if (priceListPlan.getName().equals(plan.getName()) &&
            priceListPlan.getProduct().getName().equals(plan.getProduct().getName())) {
            availBasePlans.add(new DefaultListing(priceListPlan, priceList));
          }
        }
      }
    }
  }
  return availBasePlans;
}
origin: org.kill-bill.billing/killbill-catalog

@Test(groups = "fast")
public void testAddNoTrialPlanOnFirstCatalog() throws CatalogApiException {
  final DateTime now = clock.getUTCNow();
  final SimplePlanDescriptor desc = new DefaultSimplePlanDescriptor("foo-monthly", "Foo", ProductCategory.BASE, Currency.EUR, BigDecimal.TEN, BillingPeriod.MONTHLY, 0, TimeUnit.UNLIMITED, ImmutableList.<String>of());
  final CatalogUpdater catalogUpdater = new CatalogUpdater(now, desc.getCurrency());
  catalogUpdater.addSimplePlanDescriptor(desc);
  final StandaloneCatalog catalog = catalogUpdater.getCatalog();
  assertEquals(catalog.getCurrentProducts().size(), 1);
  final Product product = catalog.getCurrentProducts().iterator().next();
  assertEquals(product.getName(), "Foo");
  assertEquals(product.getCategory(), ProductCategory.BASE);
  assertEquals(catalog.getCurrentPlans().size(), 1);
  final Plan plan = catalog.findCurrentPlan("foo-monthly");
  assertEquals(plan.getName(), "foo-monthly");
  assertEquals(plan.getInitialPhases().length, 0);
  assertEquals(plan.getFinalPhase().getPhaseType(), PhaseType.EVERGREEN);
  assertNull(plan.getFinalPhase().getFixed());
  assertEquals(plan.getFinalPhase().getName(), "foo-monthly-evergreen");
  assertEquals(plan.getFinalPhase().getRecurring().getBillingPeriod(), BillingPeriod.MONTHLY);
  assertEquals(plan.getFinalPhase().getRecurring().getRecurringPrice().getPrices().length, 1);
  assertEquals(plan.getFinalPhase().getRecurring().getRecurringPrice().getPrices()[0].getValue(), BigDecimal.TEN);
  assertEquals(plan.getFinalPhase().getRecurring().getRecurringPrice().getPrices()[0].getCurrency(), Currency.EUR);
  assertEquals(catalog.getPriceLists().getAllPriceLists().size(), 1);
  final PriceList priceList = catalog.getPriceLists().getAllPriceLists().get(0);
  assertEquals(priceList.getName(), new PriceListDefault().getName());
  assertEquals(priceList.getPlans().size(), 1);
  assertEquals(priceList.getPlans().iterator().next().getName(), "foo-monthly");
}
origin: org.kill-bill.billing/killbill-catalog

@Test(groups = "fast")
public void testAddPlanOnExistingCatalog() throws Exception {
  final StandaloneCatalog originalCatalog = XMLLoader.getObjectFromString(Resources.getResource("SpyCarBasic.xml").toExternalForm(), StandaloneCatalog.class);
  assertEquals(originalCatalog.getPriceLists().getAllPriceLists().size(), 1);
  assertEquals(originalCatalog.getPriceLists().getAllPriceLists().get(0).getName(), new PriceListDefault().getName());
  assertEquals(originalCatalog.getPriceLists().getAllPriceLists().get(0).getPlans().size(), 3);
  final CatalogUpdater catalogUpdater = new CatalogUpdater(originalCatalog);
  final SimplePlanDescriptor desc = new DefaultSimplePlanDescriptor("standard-annual", "Standard", ProductCategory.BASE, Currency.USD, BigDecimal.TEN, BillingPeriod.MONTHLY, 0, TimeUnit.UNLIMITED, ImmutableList.<String>of());
  catalogUpdater.addSimplePlanDescriptor(desc);
  final StandaloneCatalog catalog = catalogUpdater.getCatalog();
  final Plan plan = catalog.findCurrentPlan("standard-annual");
  assertEquals(plan.getName(), "standard-annual");
  assertEquals(plan.getInitialPhases().length, 0);
  assertEquals(plan.getFinalPhase().getPhaseType(), PhaseType.EVERGREEN);
  assertNull(plan.getFinalPhase().getFixed());
  assertEquals(plan.getFinalPhase().getName(), "standard-annual-evergreen");
  assertEquals(plan.getFinalPhase().getRecurring().getBillingPeriod(), BillingPeriod.MONTHLY);
  assertEquals(plan.getFinalPhase().getRecurring().getRecurringPrice().getPrices().length, 1);
  assertEquals(plan.getFinalPhase().getRecurring().getRecurringPrice().getPrices()[0].getValue(), BigDecimal.TEN);
  assertEquals(plan.getFinalPhase().getRecurring().getRecurringPrice().getPrices()[0].getCurrency(), Currency.USD);
  assertEquals(catalog.getPriceLists().getAllPriceLists().size(), 1);
  final PriceList priceList = catalog.getPriceLists().getAllPriceLists().get(0);
  assertEquals(priceList.getName(), new PriceListDefault().getName());
  assertEquals(priceList.getPlans().size(), 4);
}
origin: org.kill-bill.billing/killbill-catalog

@Test(groups = "fast")
public void testInvalidPlanDescriptors() throws Exception {
  final StandaloneCatalog originalCatalog = enhanceOriginalCatalogForInvalidTestCases("SpyCarBasic.xml");
  assertEquals(originalCatalog.getPriceLists().getAllPriceLists().size(), 1);
  assertEquals(originalCatalog.getPriceLists().getAllPriceLists().get(0).getName(), new PriceListDefault().getName());
  assertEquals(originalCatalog.getPriceLists().getAllPriceLists().get(0).getPlans().size(), 5);
  CatalogUpdater catalogUpdater = new CatalogUpdater(originalCatalog);
  // Existing Plan has a 30 days trial => try with no TRIAL
  SimplePlanDescriptor desc = new DefaultSimplePlanDescriptor("standard-monthly", "Standard", ProductCategory.BASE, Currency.EUR, BigDecimal.TEN, BillingPeriod.MONTHLY, 0, TimeUnit.DAYS, ImmutableList.<String>of());
  addBadSimplePlanDescriptor(catalogUpdater, desc);
  // Existing Plan has a 30 days trial => try different trial length
  desc = new DefaultSimplePlanDescriptor("standard-monthly", "Standard", ProductCategory.BASE, Currency.EUR, BigDecimal.TEN, BillingPeriod.MONTHLY, 14, TimeUnit.DAYS, ImmutableList.<String>of());
  addBadSimplePlanDescriptor(catalogUpdater, desc);
  // Existing Plan has a 30 days trial => try different trial unit
  desc = new DefaultSimplePlanDescriptor("standard-monthly", "Standard", ProductCategory.BASE, Currency.EUR, BigDecimal.TEN, BillingPeriod.MONTHLY, 30, TimeUnit.MONTHS, ImmutableList.<String>of());
  addBadSimplePlanDescriptor(catalogUpdater, desc);
  // Existing Plan has a MONTHLY recurring => try with ANNUAL BillingPeriod
  desc = new DefaultSimplePlanDescriptor("standard-monthly", "Standard", ProductCategory.BASE, Currency.EUR, BigDecimal.TEN, BillingPeriod.ANNUAL, 30, TimeUnit.DAYS, ImmutableList.<String>of());
  addBadSimplePlanDescriptor(catalogUpdater, desc);
  // Existing Plan has a discount phase
  desc = new DefaultSimplePlanDescriptor("dynamic-monthly", "Dynamic", ProductCategory.BASE, Currency.EUR, BigDecimal.TEN, BillingPeriod.MONTHLY, 30, TimeUnit.MONTHS, ImmutableList.<String>of());
  addBadSimplePlanDescriptor(catalogUpdater, desc);
  // Existing Plan has final fixedterm phase
  desc = new DefaultSimplePlanDescriptor("superdynamic-fixedterm", "SuperDynamic", ProductCategory.BASE, Currency.EUR, BigDecimal.TEN, BillingPeriod.MONTHLY, 30, TimeUnit.DAYS, ImmutableList.<String>of());
  addBadSimplePlanDescriptor(catalogUpdater, desc);
  // Existing Plan a different recurring price ($100)
  desc = new DefaultSimplePlanDescriptor("standard-monthly", "Standard", ProductCategory.BASE, Currency.USD, BigDecimal.TEN, BillingPeriod.MONTHLY, 30, TimeUnit.DAYS, ImmutableList.<String>of());
  addBadSimplePlanDescriptor(catalogUpdater, desc);
}
origin: org.kill-bill.billing/killbill-catalog

@Test(groups = "fast")
public void testAddExistingPlanWithNewCurrency() throws Exception {
  final StandaloneCatalog originalCatalog = XMLLoader.getObjectFromString(Resources.getResource("SpyCarBasic.xml").toExternalForm(), StandaloneCatalog.class);
  assertEquals(originalCatalog.getPriceLists().getAllPriceLists().size(), 1);
  assertEquals(originalCatalog.getPriceLists().getAllPriceLists().get(0).getName(), new PriceListDefault().getName());
  assertEquals(originalCatalog.getPriceLists().getAllPriceLists().get(0).getPlans().size(), 3);
  final CatalogUpdater catalogUpdater = new CatalogUpdater(originalCatalog);
  final SimplePlanDescriptor desc = new DefaultSimplePlanDescriptor("standard-monthly", "Standard", ProductCategory.BASE, Currency.EUR, BigDecimal.TEN, BillingPeriod.MONTHLY, 30, TimeUnit.DAYS, ImmutableList.<String>of());
  catalogUpdater.addSimplePlanDescriptor(desc);
  final StandaloneCatalog catalog = catalogUpdater.getCatalog();
  final Plan plan = catalog.findCurrentPlan("standard-monthly");
  assertEquals(plan.getName(), "standard-monthly");
  assertEquals(plan.getInitialPhases().length, 1);
  assertEquals(plan.getInitialPhases()[0].getPhaseType(), PhaseType.TRIAL);
  assertEquals(plan.getInitialPhases()[0].getFixed().getPrice().getPrices().length, 0);
  assertEquals(plan.getInitialPhases()[0].getFixed().getPrice().getPrice(Currency.EUR), BigDecimal.ZERO);
  assertEquals(plan.getInitialPhases()[0].getName(), "standard-monthly-trial");
  assertEquals(plan.getFinalPhase().getPhaseType(), PhaseType.EVERGREEN);
  assertNull(plan.getFinalPhase().getFixed());
  assertEquals(plan.getFinalPhase().getName(), "standard-monthly-evergreen");
  assertEquals(plan.getFinalPhase().getRecurring().getBillingPeriod(), BillingPeriod.MONTHLY);
  assertEquals(plan.getFinalPhase().getRecurring().getRecurringPrice().getPrices().length, 3);
  assertEquals(plan.getFinalPhase().getRecurring().getRecurringPrice().getPrice(Currency.EUR), BigDecimal.TEN);
}
origin: org.kill-bill.billing/killbill-catalog

final PriceList priceList = catalog.getPriceLists().getAllPriceLists().get(0);
assertEquals(priceList.getName(), new PriceListDefault().getName());
assertEquals(priceList.getPlans().size(), 1);
assertEquals(priceList.getPlans().iterator().next().getName(), "foo-monthly");
origin: org.kill-bill.billing/killbill-catalog

assertEquals(originalCatalog.getPriceLists().getAllPriceLists().size(), 1);
assertEquals(originalCatalog.getPriceLists().getAllPriceLists().get(0).getName(), new PriceListDefault().getName());
assertEquals(originalCatalog.getPriceLists().getAllPriceLists().get(0).getPlans().size(), 3);
org.killbill.billing.catalog.apiPriceListgetPlans

Popular methods of PriceList

  • getName
  • findPlans

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSharedPreferences (Context)
  • findViewById (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • JButton (javax.swing)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now