From a3d644f92cb6d12be392f4904c029ffb042ccd63 Mon Sep 17 00:00:00 2001 From: eparovyshnaya Date: Sun, 8 Nov 2020 12:54:18 +0300 Subject: [PATCH] Bug 567035 implement floating license pack issuing File extensions for floating license pack files. Signed-off-by: eparovyshnaya --- .../lic/floating/FloatingFileExtensions.java | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 bundles/org.eclipse.passage.lic.floating/src/org/eclipse/passage/lic/floating/FloatingFileExtensions.java diff --git a/bundles/org.eclipse.passage.lic.floating/src/org/eclipse/passage/lic/floating/FloatingFileExtensions.java b/bundles/org.eclipse.passage.lic.floating/src/org/eclipse/passage/lic/floating/FloatingFileExtensions.java new file mode 100644 index 000000000..1722f2c00 --- /dev/null +++ b/bundles/org.eclipse.passage.lic.floating/src/org/eclipse/passage/lic/floating/FloatingFileExtensions.java @@ -0,0 +1,54 @@ +/******************************************************************************* + * Copyright (c) 2020 ArSysOp + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License 2.0 which is available at + * https://www.eclipse.org/legal/epl-2.0/. + * + * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * ArSysOp - initial API and implementation + *******************************************************************************/ +package org.eclipse.passage.lic.floating; + +import org.eclipse.passage.lic.internal.base.io.PassageFileExtension; + +public abstract class FloatingFileExtensions extends PassageFileExtension { + + public static final class LicenseEncrypted extends FloatingFileExtensions { + + @Override + public String get() { + return ".flicen"; //$NON-NLS-1$ + } + + } + + public static final class LicenseDecrypted extends FloatingFileExtensions { + + @Override + public String get() { + return ".flic"; //$NON-NLS-1$ + } + + } + + public static final class LicenseAccessDecrypted extends FloatingFileExtensions { + + @Override + public String get() { + return ".fla"; //$NON-NLS-1$ + } + + } + + public static final class LicenseAccessEncrypted extends FloatingFileExtensions { + + @Override + public String get() { + return ".flaen"; //$NON-NLS-1$ + } + + } +}