Back to the RMI Plug-in for Eclipse

demo.rmi.filesystem.client
Class FileSystemClient.SemiPalindromeFilter

java.lang.Object
  extended by demo.rmi.filesystem.client.FileSystemClient.SemiPalindromeFilter
All Implemented Interfaces:
IRemoteFilenameFilter, Serializable, Remote
Enclosing class:
FileSystemClient

private static class FileSystemClient.SemiPalindromeFilter
extends Object
implements IRemoteFilenameFilter, Serializable

A filter that accepts what can be called a "semi-palindromic" file names. A semi-palindrome is a palindrome limited to the outermost 2 characters. Semi-palindromes are more frequent than "full" palindromes.

See Also:
FileSystemClient.findSemiPalindromes(IRemoteFile, boolean)

Field Summary
private static long serialVersionUID
           
 
Constructor Summary
private FileSystemClient.SemiPalindromeFilter()
           
 
Method Summary
 boolean accept(IRemoteFile dir, String name)
           
private  boolean isSemiPalindrom(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

FileSystemClient.SemiPalindromeFilter

private FileSystemClient.SemiPalindromeFilter()
Method Detail

accept

public boolean accept(IRemoteFile dir,
                      String name)
Specified by:
accept in interface IRemoteFilenameFilter

isSemiPalindrom

private boolean isSemiPalindrom(String name)

Back to the RMI Plug-in for Eclipse


© 2002-12 Genady Beryozkin, rmi-info@genady.net. Read our Privacy policy. Hosted on RimuHosting. Visit Javalobby.