Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问为什么pdf txt等文件无法显示? #172

Closed
OarUyGnah opened this issue Mar 13, 2022 · 2 comments
Closed

请问为什么pdf txt等文件无法显示? #172

OarUyGnah opened this issue Mar 13, 2022 · 2 comments
Labels

Comments

@OarUyGnah
Copy link

作者您好,我想问一下为什么只有图片和视频类型的可以显示,而pdf txt等类型的文件都无法显示呢,我使用了AbstractFileFilter

if (fileItemBean.isDir() 
    || fileItemBean.getFileType() instanceof TextFileType
    || fileItemBean.getFileType() instanceof PageLayoutFileType){
                        
    fileItemBeans.add(fileItemBean);
}

但仍然不能显示相关的类型文件,即使不使用AbstractFileFilter也是一样的,请问这是为什么呢,希望您能解答

@rosuH rosuH added the faq label Mar 13, 2022
@rosuH
Copy link
Owner

rosuH commented Mar 13, 2022

看下是不是这个情况:#146 (comment)

@OarUyGnah
Copy link
Author

好的,问题解决了,谢谢您

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants