![JAR search and dependency download from the Maven repository](/logo.png)
io.permazen.encoding.FileEncoding Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of permazen-encoding Show documentation
Show all versions of permazen-encoding Show documentation
Permazen classes for encoding Java values to/from binary representations.
The newest version!
/*
* Copyright (C) 2015 Archie L. Cobbs. All rights reserved.
*/
package io.permazen.encoding;
import com.google.common.base.Converter;
import java.io.File;
/**
* {@link File} type.
*
*
* Null values are supported by this class.
*/
public class FileEncoding extends StringConvertedEncoding {
private static final long serialVersionUID = -8784371602920299513L;
public FileEncoding(EncodingId encodingId) {
super(encodingId, File.class, Converter.from(File::toString, File::new));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy