ServiceUtil.java
1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* com.adobe.aemfd.docmanager.TempFileManager
* com.day.cq.dam.handler.gibson.fontmanager.FontManagerService
*/
package com.adobe.fd.forms.internal.utils;
import com.adobe.aemfd.docmanager.TempFileManager;
import com.day.cq.dam.handler.gibson.fontmanager.FontManagerService;
public class ServiceUtil {
private static FontManagerService fontManagerService;
private static TempFileManager tempFileManager;
public static TempFileManager getTempFileManager() {
if (tempFileManager != null) {
return tempFileManager;
}
throw new RuntimeException("tempFileManager service unavailable");
}
public static void setTempFileManager(TempFileManager _tempFileManager) {
tempFileManager = _tempFileManager;
}
public static FontManagerService getFontManagerService() {
if (fontManagerService != null) {
return fontManagerService;
}
throw new RuntimeException("fontmanager service unavailable");
}
public static void setFontManagerService(FontManagerService _fontManagerService) {
fontManagerService = _fontManagerService;
}
}