@ConsumerType
public interface FileOptimizer
| Modifier and Type | Method and Description |
|---|---|
@NotNull String |
getName()
Gets the name of the optimizer
|
@Nullable byte[] |
optimizeFile(byte[] original,
String metaType)
Optimize a single file.
|
@Nullable
@Nullable byte[] optimizeFile(byte[] original,
String metaType)
original - the original file to optimizemetaType - the type of the file to optimize@NotNull @NotNull String getName()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.