com.emc.mongoose.base.item.PathItemFactoryImpl Maven / Gradle / Ivy
package com.emc.mongoose.base.item;
/** Created by kurila on 30.01.17. */
public class PathItemFactoryImpl implements ItemFactory {
@Override
public I getItem(final String name, final long id, final long size) {
return (I) new PathItemImpl(name);
}
@Override
public I getItem(final String line) {
return (I) new PathItemImpl(line);
}
@Override
public Class getItemClass() {
return (Class) PathItemImpl.class;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy