public abstract class FilePathSplittingPolicy
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static FilePathSplittingPolicy |
SPLIT_BY_LETTER |
static FilePathSplittingPolicy |
SPLIT_BY_SEPARATOR |
Constructor and Description |
---|
FilePathSplittingPolicy() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getOptimalTextForComponent(java.io.File file,
javax.swing.JComponent component) |
java.lang.String |
getOptimalTextForComponent(java.io.File file,
javax.swing.JComponent component,
int width) |
java.lang.String |
getOptimalTextForComponent(java.lang.String staticPrefix,
java.io.File file,
javax.swing.JComponent component,
int width) |
abstract java.lang.String |
getPresentableName(java.io.File file,
int length) |
public static final FilePathSplittingPolicy SPLIT_BY_LETTER
public static final FilePathSplittingPolicy SPLIT_BY_SEPARATOR
public abstract java.lang.String getPresentableName(java.io.File file, int length)
public java.lang.String getOptimalTextForComponent(java.lang.String staticPrefix, java.io.File file, javax.swing.JComponent component, int width)
public java.lang.String getOptimalTextForComponent(java.io.File file, javax.swing.JComponent component, int width)
public java.lang.String getOptimalTextForComponent(java.io.File file, javax.swing.JComponent component)