All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.legyver.fenxlib.icons.icomoon.service.IconServiceImpl Maven / Gradle / Ivy

There is a newer version: 2.1.2.6
Show newest version
package com.legyver.fenxlib.icons.icomoon.service;

import com.legyver.fenxlib.core.api.icons.GlyphAccessData;
import com.legyver.fenxlib.core.api.icons.IconService;

import java.util.Arrays;
import java.util.List;

import static com.legyver.fenxlib.icons.icomoon.IcoMoonFonts.ICO_MOON;

/**
 * Load the IcoMoon icon library
 */
public class IconServiceImpl implements IconService {

	@Override
	public List iconsToLoad() {
		List glyphAccessData = Arrays.asList(
				new GlyphAccessData(IconServiceImpl.class.getResourceAsStream("icomoon.svg"), ICO_MOON)
		);
		return glyphAccessData;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy