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

com.zusmart.base.scanner.support.ScannerResultForDirClass Maven / Gradle / Ivy

Go to download

提供基础的工具类及方法类,Logging,Scanner,Buffer,NetWork,Future,Thread

There is a newer version: 1.0.6
Show newest version
package com.zusmart.base.scanner.support;

import java.io.File;

import com.zusmart.base.scanner.ScannerResultForClass;

public class ScannerResultForDirClass extends AbstractScannerResult implements ScannerResultForClass {

	private final Class clazz;

	protected ScannerResultForDirClass(File parent, File target, Class clazz) {
		super(target.getName(), target.getPath());
		this.clazz = clazz;
	}

	@Override
	public boolean isClass() {
		return true;
	}

	@Override
	public boolean isResource() {
		return false;
	}

	@Override
	public boolean isFromJarFile() {
		return false;
	}

	@Override
	public boolean isFromDirFile() {
		return true;
	}

	@Override
	public Class getTargetClass() {
		return this.clazz;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy