Here you can find the source of getPDFEncodingIndex(String key)
public static int getPDFEncodingIndex(String key)
//package com.java2s; /******************************************************************************* * Copyright (C) 2005 - 2014 TIBCO Software Inc. All rights reserved. http://www.jaspersoft.com. * //from w w w. j ava 2s . c o m * Unless you have purchased a commercial license agreement from Jaspersoft, the following license terms apply: * * This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html ******************************************************************************/ public class Main { private static java.util.List<String> pdfencodings; public static int getPDFEncodingIndex(String key) { return pdfencodings.indexOf(key); } }